This fun hook simply adds a new tab to your navbar. Click it to go to a Random Gallery Image you can view.
Respects All Gallery Permissions. Uses Gallery API and backwards-compatible code to generate a random image to be redirected to at the visited link.
If, by RAND chance, the viewable result is the image viewed when clicking the link, it will try again, this time using the same API to pull 2 results and give the first one not the image you were at.
Tested against IP.Gallery 4.1 and 5.0.0
Welcome to DevFuse Forums
- Start new topics and reply to others
- Subscribe to topics and forums to get email updates
- Get your own profile page and make new friends
- Send personal messages to other members.
Guest Message by DevFuse
(View All Products)Featured Products
Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.
Have your members submit their race times and share with others.
Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.
Build your own forms for your members without coding experience. Support included for pm, email and topics.
Build a community database of items for your members. Full features custom fields included.
[IPS] (MT)Gallery(4.x/5.x) Random Image Button
No replies to this topic