Add ads to full size images
bigu_c
Joined: 2007-10-28
Posts: 421 |
Posted: Thu, 2009-07-23 16:27 |
I'm using Carbon theme. For example, when user browses http://www.car-pictures.us/bentley/continental/Bentley_Continental_Supersports_279.jpg.html There is a link with title is "Download full size". Currently: After click on that link will open a pop-up with with full size image. Please help me. Thanks! |
|
Posts: 27300
Is 'Download full size" a stock carbon theme feature or was it added later?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 421
That is feature from Carbon theme.
Posts: 27300
You will need to create a template file that has the image and the other stuff you want.
edit the link in themes/carbon/templates/navigator.tpl:
to link to your new template and not the image only.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 421
Sorry, I'm asking how to "create a template file that has the image with some ads".
Can you tell me in details to do what I want?
Thanks!
Posts: 421
My target page will simple like this:
What is "xxx" I have to add to this file in this case?
And in navigator.tpl, which code I have to replace current code?
Thanks!
Posts: 27300
You might need to pass the variable to the template but this should be the url to the image:
{$smarty.capture.url}
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 421
I will can't complete my work.
Can you tell me step by step in details?
Thank you so much!
Posts: 27300
Not enough time to work on your issue and G3 as well.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team