web design, England, Britain, UK, belgium
 
Ulti Clocks content

Separate links for Briask ImageSlideShow module images

sand How to get separate links for ImageSlideShow module images. The ImageSlideShow module from briask.com is an excellent and simple image gallery which shows any images from a designated folder.
link, image, number, images, file, url, content, different, individual, like, imageslideshow, jpg, php, module, index, itemid, mod, ways, option, pages, echo, folder, briask, joomla, links, desired, adds, finds, simply, corresponding, rename, note, post, clonky, second, ditch, replace, editor, preg, line

Home Joomla - VirtueMart Separate links for Briask ImageSlideShow module images

Son

13.

Dez

Separate links for Briask ImageSlideShow module images

  • Joomla 1.5

The ImageSlideShow module from briask.com is an excellent and simple image gallery which shows any images from a designated folder and have one link from the images. Clients (and I see on Briask's own forum) have asked whether it would be possible to have individual links to individual images.
I've come up with a couple of ways.



Separate links for ImageSlideShow module Both ways are pretty primitive and involve naming the image file in a certain way that is then detected and provides the correct link. I'm sure it could be done more nicely but it works flawlessly.
The first way is if you want to link to different content pages within your own site or at least if the links are all similar except for a different id number each time.

First find the Joomla link structure that you want to link to. The url will be like
index.php?option=com_content&view=article&id=60&Itemid=32
so note each different id number you want to link to.

Then rename your images corresponding to the id number like so -
  • image60.jpg
  • image72.jpg
  • image84.jpg
Upload them to your image folder for the ImageSlideShow module.

The url in the backend ImageSlideShow module parameters will be
index.php?option=com_content&Itemid=32&id=
Open up the file modules/mod_briaskISS/mod_briaskUtility.php in your editor and go to line 325 -->
 
echo '<li><a href="'.$picURL.'"><img src="'.$picDir.'/'.$file.'" alt="'.$picTitle.'" /></a></li>';
 
Comment this out and add the following ->
 
$number = preg_replace("/[^0-9]/", '', $file); // ditch anything that is not a number
echo '<li><a href="'.$picURL.$number.'&view=article"><img src="'.$picDir.'/'.$file.'" alt="'.$picTitle.'" /></a></li>';
 

This simply finds the number in the image file name and adds it to the url.

Now the individual images will link to the desired pages.

The second way is even more clonky but this way you can link to any url that you like.
I will describe it in the next post.


Add this page to your favorite Social Bookmarking websites
Digg! Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! Slashdot! Technorati! StumbleUpon! Spurl! Newsvine! Furl! Fark! Yahoo! Netvouz! Mister-Wong! RawSugar! Ma.gnolia! Squidoo! DZone! Swik!
Zuletzt aktualisiert am Montag, 14. Dezember 2009 um 09:05 Uhr Read : 3300 times
 
Comments (2)
@Wayne Swearingen
2 Mittwoch, 26. Mai 2010 um 07:28 Uhr
(GJC Admin)
It does.....
Separate Links Briask Slideshow
1 Dienstag, 25. Mai 2010 um 22:20 Uhr
Wayne Swearingen
Is there a way to make this work with SEO links?

Add your comment

BoldItalicUnderlineStrikethroughSubscriptSuperscriptEmailImageHyperlinkOrdered listUnordered listQuoteCodeHyperlink to the Article by its id
Very HappySmileWinkSadSurprisedShockedConfusedCoolLaughingMadRazzEmbarrassedCrying or Very SadEvil or Very MadTwisted EvilRolling EyesExclamationQuestionIdeaArrowNeutralMr. GreenGeekUber Geek
Your name:
Titel:
Comment:

Showcase

  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow

Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.

VM Live Product Search

Latest Joomla & VirtueMart Tips

See all tips & examples

Alexshop.de

News image

Private club based shopping site. 3 languages with full shop including "Back-end", order control, newsletter subscriptions and member invitations. Fully integrated "community" setup to include membership, newsletters, logins and...

Readmore

Midrangeint.com

News image

Midrangeint.com Multi-page site with Content Management System for an International IT Consulting company. Achieves top ranking search results for IBM Software Integration terms. e.g. Google results for "IBM system i"...

Readmore

Vandegaar.be

News image

Multimedia site for a Belgian stairways, doors and floors workshop. 4 languages with extensive photo galleries, flash animation and Quicktime 3D embedded views.

Readmore



Separate links for Briask ImageSlideShow module images



How to get separate links for ImageSlideShow module images. The ImageSlideShow module from briask.com is an excellent and simple image gallery which shows any images from a designated folder.


link, image, number, images, file, url, content, different, individual, like, imageslideshow, jpg, php, module, index, itemid, mod, ways, option, pages, echo, folder, briask, joomla, links, desired, adds, finds, simply, corresponding, rename, note, post, clonky, second, ditch, replace, editor, preg, line