Author Topic: Thumbnails and css  (Read 3921 times)

0 Members and 1 Guest are viewing this topic.

Offline uksoreeyes

  • Full Member
  • ***
  • Posts: 117
    • View Profile
    • http://www.myleeneklass.com
Thumbnails and css
« on: March 18, 2003, 07:13:54 PM »
Hi I've been trying to add a style to my thumbnails but don't know where to start.

basically what I want to do is this:

Code: [Select]
<a href="image url etc" class="image"><img src...

but where abouts in the script to I find the <a href> bit to add the class="image" bit?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Thumbnails and css
« Reply #1 on: March 19, 2003, 12:01:51 AM »
Quote from: uksoreeyes
Hi I've been trying to add a style to my thumbnails but don't know where to start.

basically what I want to do is this:

Code: [Select]
<a href="image url etc" class="image"><img src...

but where abouts in the script to I find the <a href> bit to add the class="image" bit?

unfortunetly, u'll need do changes in the code...(hopefuly in next version this will be solved  :roll: )
open /includes/functions.php find:
Code: [Select]
function get_thumbnail_code
then, scroll little bit down, u'll find few "<a href".
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline uksoreeyes

  • Full Member
  • ***
  • Posts: 117
    • View Profile
    • http://www.myleeneklass.com
Thumbnails and css
« Reply #2 on: March 19, 2003, 12:08:16 AM »
Thanks pal, worked a charm  :D