It is currently Wed Dec 13, 2017 2:56 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Apr 11, 2011 1:41 am 
Offline
User avatar

Joined: Sun Apr 10, 2011 11:15 pm
Posts: 1
Location: Netherlands
Hi first of all thanks for the nice gallery.
Its simple, straight forward and easy to use.

Although I wondered if it was possible to link the thumb images to an external website.
Like for instance when you want to make a partner list with logo's of your partners which are linked to their site.

Hope to hear from you soon

and sorry for my English ;)


Top
 Profile  
 
 Post subject: Images linked to external website
PostPosted: Mon Apr 11, 2011 1:41 am 
Top  
PostPosted: Thu Apr 28, 2011 10:13 am 
Offline
Developer
Developer
User avatar

Joined: Tue Aug 17, 2010 2:38 pm
Posts: 445
Location: Novi Sad, Serbia
This gallery didn't build for such a task, but it has an API which contains all You need to make this work.

First, use Image Captions for entry for URL. For example, enter for some image:
Code:
http://www.google.com


Open some AG Template index.php, which You can find in /plugins/content/AdmirorGallery/templates/ and replace:
Code:
$html.= $AG->writePopupThumb($imageName);


with:

Code:
$html.= '<a href="'.$AG->writeDescription($imageName).'"  target="_blank">
'.$AG->writeThumb($imageName,"ag_imageThumb").'
</a>';

_________________
Admiror Design Studio


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

 


All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group