Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #21  
Old 11-05-2007, 08:56 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
Quote:
Originally Posted by nden View Post
But I have a question: Is there a way I can use TEXT as link, instead using .gif grafic?
Thanks
This would need a change of the core files where the <SECRET_LINK> Tag is replaced. If you have a little PHP knowledge it should not be too difficult.
Or create a little gif with the text?
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #22  
Old 11-18-2007, 07:32 PM
nden Offline
forum loafer
 
Join Date: Sep 2007
Posts: 7
Thumbs up

Thanks for reply austriaka

Ya, I figured out the way to imply this nice addon.
Reply With Quote
  #23  
Old 11-22-2007, 09:55 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
I just updated the Secret Image Addon. No version change because the code didn't change, but now NEW there is a check for updates in the Addon page.
Download it here:
http://www.pixelpost.org/extend/addo...mage/download/
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #24  
Old 10-07-2008, 03:57 AM
irishblue Offline
forum loafer
 
Join Date: Dec 2006
Posts: 18
is there a way to preload the secret image?
the secret image takes a while to load hence majority of users don't see it when they mouseover the icon and think nothing's there as seen in my site:
http://www.stephyk.com

i found a hack in here that preloads the next image but not the current one's secret image:
http://www.pixelpost.org/forum/showthread.php?t=6129

any idea how I can do it?
Reply With Quote
  #25  
Old 10-07-2008, 07:25 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
yes, you can use the little Javascript dwilkinsjr posted in the mentioned thread. Just replace the tag "<PRELOAD_IMAGE_NAME>" by "o_<IMAGE_NAME>"

Code:
<script type="text/javascript">
if (document.images) 
{
   img1 = new Image();
   img1.src = "images/o_<IMAGE_NAME>";
}
</script>
Place the code sniplet at the end of the html source in your image_template.html (after the html of the image).
You do not need the Image Pre-Loader Addon at all since this retreives only the filename of the next image.
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #26  
Old 10-08-2008, 06:01 AM
irishblue Offline
forum loafer
 
Join Date: Dec 2006
Posts: 18
thanks for the quick reply. works like a charm now!
very much appreciated
Reply With Quote
  #27  
Old 03-22-2009, 11:28 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
Modified Version for Switchy Template

When using a template which has separate definitions for landscape and portrait orientated photos (vertical and horizontal tables) like Switchy for example, you will encounter problems with the Secret Image Addon.

You have one table for horizontal view and one for vertical view.
Depending on which orientation the image has, the one table is set invisible and the other visible (by css).
Now it happens that the image with name "mainimage" is in the page twice, even if not visible.
Firefox changes the image in the first occurance (which is the horizontal view) but not again in the second.
InternetExplorer seems to be more tolerant in having the same name twice.

Here is a modified version of Secret Image Addon for those who are using a template which has the image layout part twice, depending on image orientation:

http://uhlig.at/downloads/secret_image_hvtables.zip


Please use these Addon Tags instead of <ATTRIBUTE_NAME> and <SECRET_LINK>:
<ATTRIBUTE_NAME1> and <SECRET_LINK1> in the horizontal table
<ATTRIBUTE_NAME2> and <SECRET_LINK2> in the vertical table

Have fun with it!
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #28  
Old 03-28-2009, 01:13 AM
cLin Offline
forum loafer
 
Join Date: Mar 2009
Posts: 3
Has anyone figured out how to incorporate the auto resize addon into this so that both images are the same size if I use auto resize?
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:30 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs