The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Making clickable thumbnails?
sineater213
post Aug 8 2009, 08:55 PM
Post #1





Group: Members
Posts: 2
Joined: 8-August 09
Member No.: 9,368



Hello everyone I'm usually good at figuring stuff out, but this time I hit a doozy and can't seem to figure it out, hopefully someone here can help me. I have a gallery blog which is using this theme:

http://www.elegantthemes.com/preview/eGallery/

my question is how can I make it so that users can click the thumbnail and go to the post rather than clicking the arrow on the bottom right. I've narrowed it down to

<div class="thumbnail-div" style="background-image: url(<?php bloginfo('stylesheet_directory'); ?>/scripts/timthumb.php?src=<?php echo $thumb; ?>&amp;h=159&amp;w=190&amp;zc=0);">

but I don't now how to make them link to the post, any help would be great thank you.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Aug 8 2009, 11:35 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Not easily, since the whole thing builds on that the thumb isn't a thumb, but a background image. It would take some reworking.

You could fake it by adding an onclick to DIV.thumbnail-div, let JS redirect to the new page and style it with 'cursor: pointer'. This isn't a good solution though.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
sineater213
post Aug 9 2009, 03:12 AM
Post #3





Group: Members
Posts: 2
Joined: 8-August 09
Member No.: 9,368



thanks a lot for the info I guess I'll just have to get a more user friendly theme
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Aug 9 2009, 11:54 AM
Post #4


Programming Fanatic
********

Group: Members
Posts: 5,146
Joined: 23-August 06
From: Europe
Member No.: 9



Though they are not Wordpress themes, maybe one of the Gallery samples at http://www.stunicholls.com/ will fit your needs.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 09:01 AM