Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Using the Flickr Gallery option and custom loading
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Using the Flickr Gallery option and custom loading
#3488
Using the Flickr Gallery option and custom loading 14 Years, 8 Months ago Karma: 0
My question is the following. I have purchased the latest ARI Pretty Photo and I'm trying to display a photoset from flickr in a client's website.

So far so good, I got it to show up in an article. However I am using the Single Image layout type in the ari pretty photo module with the option Flickr Gallery and that has as code the following in the template area box:

Code:

{$data:prettyimage}


This auto generates and displays in the page the first image of the photoset and clicking on it displays a larger version with pagination and all the magic inside the lightbox.

However, what I want to be able to do is put a random pic or text i choose hyperlinked and clicking on that have that fire off the lightbox with the images in the photoset.

Instead of displaying the first image in the photoset in the page i would like to have something like a Pictures link or image and if the user clicks on that, gets the lightbox with the photoset pics he can navigate through.

What code should I put in the template to achieve this or is it even possible?

Thanks!
Last Edit: 2010/03/23 15:26 By techorders.
The administrator has disabled public write access.
 
#3489
Re:Using the Flickr Gallery option and custom loading 14 Years, 8 Months ago Karma: 760
Hello,

We have updated "ARI Pretty Photo" and now it provides new template type called "Custom text". Choose this type and enter in "Template" field necessary text or HTML. This text will be shown on the frontend and if an user click by this text, lightbox with images will be shown. You can download the latest version of the extension in "Member Area" on our site.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#3490
Re:Using the Flickr Gallery option and custom loading 14 Years, 8 Months ago Karma: 0
Will this support also an image?

I need to have this image open up the gallery -> www.debugthemyth.com/images/btn-pictures.jpg
The administrator has disabled public write access.
 
#3491
Re:Using the Flickr Gallery option and custom loading 14 Years, 8 Months ago Karma: 760
Yes, it supports HTML. You can type the following code in 'Template' field:

Code:


<img src="path_to_image" border="0" />



Regards,
ARI Soft
The administrator has disabled public write access.
 
#3502
Re:Using the Flickr Gallery option and custom loading 14 Years, 8 Months ago Karma: 0
But this image needs to be wrapped with a link or something, right? Just using an image tag as you stated above doesn't work - the image doesn't do anything when clicked.

Judging by how this link would need to work, it seems that it needs the "rel" value set to something dynamic, right? I viewed the HTML for the page when viewing a single-image gallery and it looks something like this:

<a href="[STATIC FLICKR ADDRESS]" rel="prettyPhoto[RANDOM_STRING]"> <img src="images/my_image.jpg" border="0" /> </a>

However, if I am using the "Custom text" field, then I can't fill in whatever this RANDOM_STRING is that your code is populating here (which seems to be different on every page load). What would a FULL example the text in the Template field be?

Thanks!
Last Edit: 2010/03/24 20:15 By giblets.
The administrator has disabled public write access.
 
#3503
Re:Using the Flickr Gallery option and custom loading 14 Years, 8 Months ago Karma: 760
Hello,

It doesn't require wrap tag, the extension do it automatically. Only enter necessary html and it should work. If it don't work on your site, provide link where we can see this issue and we'll help you.

Regards,
ARI Soft
Last Edit: 2010/03/24 20:27 By admin.
The administrator has disabled public write access.
 
Go to topPage: 12