Skip to main content

I've been working on a custom template and I've got Auctiva populating my thumbnails and main image by using the [IMAGEx_URL] tags. However, I'd like to have the main image link to the Supersize page. I know that you can use [IMAGEx] to have Auctiva write in a 400x300 complete image tag with Supersize link, but this won't work for me as my main image is 640x480 and has a particular class applied to it (custom code). Is there any tag I can use in the href="" attribute to link to the Supersize version? Thanks!
Original Post

Replies sorted oldest to newest

Hi,

The URL tag is the supersize stored version of the image with the _o.jpg name format (as example). You could anchor your image to your your own blank page with the supersize.

If you want to specifically use Auctiva's Supersize page, you need to link using their showimage.aspx? query string format, where they pass the image ID numbers to build the page at the server. Just build a listing with their format and use Preview to look at how they make the page call from the anchor tag. As you can see, it's not something the URL tags alone can produce. Using Javascript to build the page code dynamically or with href calling a script with the image list as parms are possibilities I've considered for a widget, i.e for a custom situation like your requesting.

Template widgets are just what the doctor is working on. Wink

Danno
Last edited by danno
Hi,

For morning "Coffee Challenge" I created a script that hopefully you can use as a base. It inserts behind the anchor to add the href with a correct http and query string. It's abit brute force with getting the image numbers, but it should work (as long as they stick with 9 digits).

Here's the code.

http://practicewriter.com/vu/?5BF6A

There is an alert in the code to display the built string for testing and confirmation that you can remove when you're satisfied it's doing the job.

Note, the gid= in the http string is the Auctiva customer ID, so you need to replace mine with yours. I've never been 100% sure of what ppid=1122 is or does.

Oh, and if you're using a cache preloader, you might be able to splice this code into that code for both functions. Just make sure it follows the achor for the main image on the page.

Danno

Edit: Here's an update to that prior code that will land you to the correct image on the Supersize page, i.e. if you are on the 3rd image in main, it lands you on the 3rd image on the Supersize page.

http://practicewriter.com/vu/?5C189

Note the add of Mouseover function for the image ID switch. You could do that with either the thumbs (part of their Mouseover) or on the main image or both (like Auctiva does).

Let me know if you get it working in an active listing. This method is still brute force with its dependence on the absolute structure on the image URLs, but it works. Smile Note, it throws errors in the template Preview due to its test images having a different structure. That's why I might decide to work a more general edition for a final widget.

Danno
Last edited by danno

Add Reply

Copyright © 1999-2018 Auctiva.com. All rights reserved.
×
×
×
×
Link copied to your clipboard.
×