random image

e107 CMS » Forums » e107 Code » Plugin Requests << Previous thread | Next thread >>
Go to page  1 2
outlaw16151
May 20 2012, 06:20PM
Registered Member #61697
Joined: May 29 2011, 07:29PM
Posts: 44
can ya make or already have a plug-in for showing random images... i have the images
just like a plug-in to diplay them
Go to top
NZMikey
May 20 2012, 09:23PM
Registered Member #63493
Joined: Dec 07 2011, 01:50AM
Posts: 82
Do you mean a random image per page, or random image-slideshow type thing?
Go to top
MysterF
May 21 2012, 04:45AM
Registered Member #54659
Joined: Jan 31 2010, 02:19PM
Posts: 320
Core plugin featurebox can do what he wants, he can even create a custom menu if he hates the initial display, he can do that by creating a custom menu/page, and entering the following shortcode:
{PLUGIN=featurebox}

Go to top
outlaw16151
May 21 2012, 08:13AM
Registered Member #61697
Joined: May 29 2011, 07:29PM
Posts: 44
i used the image of the day plug-in? but it only rotates once a day, ill give that a try MysterF
Go to top
outlaw16151
May 21 2012, 08:22AM
Registered Member #61697
Joined: May 29 2011, 07:29PM
Posts: 44
feature box displays only in the middle i need the box on the left side or right side thanks
Go to top
outlaw16151
May 21 2012, 08:30AM
Registered Member #61697
Joined: May 29 2011, 07:29PM
Posts: 44
i was looking for a plug-in that would show a different image everytime a vistor loads a page... i got a java scrypt one but you have to paste part of it in the <head>
lol but i dont know where to do this pages are all in php
html would be different
Go to top
Moc
May 21 2012, 09:17AM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #44563
Joined: Apr 12 2008, 03:01AM
Location: The Netherlands
Posts: 3519
@outlaw16151: Cmon, you can do some searching yourself as well. See [-link-]

(Google on e107 javascript, second hit)

-
As MysterF noted, simply create a new custom menu with the featurebox code in it and place it anywhere you like, at the sides, in the middle, at the bottom, at the top, in the air.... o wait, not in the air
[ Edited May 21 2012, 02:34PM ]
Go to top
septor
May 21 2012, 03:23PM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #37
Joined: Aug 11 2002, 03:20AM
Location: United States
Posts: 2659
I just wrote this.

Instructions can be found here.

Basically; put images (.jpg, .gif, .png) inside the images folder. Activate the menu item from the admin area. If you want to edit the image size you need to do so in the randimg_menu.php file.

edit: It actually took me longer to create the repo and upload the file than it did to write the menu. It probably even took less time to write the menu item than it would have taken you to search for a menu item that does something very similar.
[ Edited May 21 2012, 03:24PM ]
Go to top
Website
John-Arild
May 21 2012, 04:19PM
  • e107 Translation Team
Registered Member #31415
Joined: Oct 14 2006, 07:42AM
Location: Fetsund, Norway
Posts: 102
I installed it at [-link-] in the upper right hand menu. It pics random images alright, but clicking on the image gets another image than what was in the menu.
Go to top
Website
septor
May 21 2012, 05:01PM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #37
Joined: Aug 11 2002, 03:20AM
Location: United States
Posts: 2659
Yeah, so, about that...

Download this file and overwrite it. Small mistake in that, it it randomly selected a different image for everything! It's fixed now, I'll push a new version out in a second!
Go to top
Website
outlaw16151
May 22 2012, 07:07AM
Registered Member #61697
Joined: May 29 2011, 07:29PM
Posts: 44
Moc wrote ...

@outlaw16151: Cmon, you can do some searching yourself as well. See [-link-]

(Google on e107 javascript, second hit)

-
As MysterF noted, simply create a new custom menu with the featurebox code in it and place it anywhere you like, at the sides, in the middle, at the bottom, at the top, in the air.... o wait, not in the air


Hey who is this guy anyway? LOL your funny.... but i can make the custome menu... but since im not fimmiliar with the featurebox im not gonna use it.... thanks for the humor
Go to top
outlaw16151
May 22 2012, 07:10AM
Registered Member #61697
Joined: May 29 2011, 07:29PM
Posts: 44
Thank you septor.... i downloaded that plug-in thats a big help
Go to top
John-Arild
May 22 2012, 07:28AM
  • e107 Translation Team
Registered Member #31415
Joined: Oct 14 2006, 07:42AM
Location: Fetsund, Norway
Posts: 102
septor wrote ...



Download this file and overwrite it.


This one works great Patrick

I have 2 other questions:

1) Take a look at my page upper right hand corner
where I have places your menu: [-link-]
How can I get the picture centered in the menu vertically?

2) Noticing that the menu is like one row down from the top of my theme.
It hasn't been like that with other menues. How can this be fixed?
Go to top
Website
septor
May 22 2012, 03:01PM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #37
Joined: Aug 11 2002, 03:20AM
Location: United States
Posts: 2659
Both of those are styling issues. I didn't spend any time on that at all, I just made sure the menu item displayed the image correctly (actually that's a lie based on your previous issue. ). I'll look into that after I cook dinner.
[ Edited May 22 2012, 03:02PM ]
Go to top
Website
outlaw16151
May 23 2012, 11:00PM
Registered Member #61697
Joined: May 29 2011, 07:29PM
Posts: 44
random image works awasome septor,, thanks a ton
Go to top
henning
Jun 11 2012, 05:59PM
Registered Member #2076
Joined: Jun 25 2003, 07:26PM
Posts: 16
Hi,
I downloaded the script as well and it is exactly what I was looking for. There is only one problem left and that is that the pics are not downsized to the required size , set in the config box.
Since I just moved to a new server I wonder if there is anything missing on it. Imagemagic maybe ?
Tks
Henning
[ Edited Jun 11 2012, 06:11PM ]
Go to top
septor
Jun 11 2012, 06:29PM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #37
Joined: Aug 11 2002, 03:20AM
Location: United States
Posts: 2659
Admittedly, I didn't test this after I added the ability to set the sizes in the configuration page. I'll investigate.
Go to top
Website
septor
Jun 11 2012, 06:41PM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #37
Joined: Aug 11 2002, 03:20AM
Location: United States
Posts: 2659
Fixed in 1.0.2.
Go to top
Website
henning
Jun 11 2012, 10:21PM
Registered Member #2076
Joined: Jun 25 2003, 07:26PM
Posts: 16
Hi,

tks, it works now
Go to top
John-Arild
Jul 04 2012, 01:19PM
  • e107 Translation Team
Registered Member #31415
Joined: Oct 14 2006, 07:42AM
Location: Fetsund, Norway
Posts: 102
Could the BIG picture that comes up, after clicking on the picture in the random img menu, please have a link back or close window function too? Otherwise one needs to hit the BACK function of the browser
Go to top
Website
Go to page  1 2  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System