1
snowmanbg
Adding external Random Image
  • 2005/11/17 9:22

  • snowmanbg

  • Just popping in

  • Posts: 6

  • Since: 2005/11/17


hello
I have XOOPS 2.2 site with all the modules and themes so that is not my questin...
I have a gallery website and there I generate a random image every time... I want to put that random image in my XOOPS site.
My gallery generated a link for the random image and of course it works ... but I don't know where to put it in order to work fine.
Here is the link
@readfile('http://XXXXXXXXX/gallery2/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'); ?>


I don't mind of the picture isnt in separate block and so on...

Im not complete noob so don't worry to tell me all the ways of sloving the problem :)

Excuse my English

2
snowmanbg
Re: Adding external Random Image
  • 2005/11/17 18:30

  • snowmanbg

  • Just popping in

  • Posts: 6

  • Since: 2005/11/17


ANYBODY HELP ME?!

3
JMorris
Re: Adding external Random Image
  • 2005/11/17 19:05

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


First, Welcome to XOOPS!
Second, please don't scream.
Third, you just posted this question earlier today, please be patient. There is no paid staff here, we're all volunteers.
Fourth, to answer your question....

Create a custom block and select PHP Code from the content type, then paste everything but the tags in the block.

Example:
@readfile('http://XXXXXXXXX/gallery2/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title');


Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

4
snowmanbg
Re: Adding external Random Image
  • 2005/11/18 9:06

  • snowmanbg

  • Just popping in

  • Posts: 6

  • Since: 2005/11/17


10x a lot
Now i realise that my question was supid but however i could not slove it!
10x a lot again :)

Login

Who's Online

465 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 465


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits