Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: Highslide 3.04 and alt/width/height  (Read 6464 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Highslide 3.04 and alt/width/height
« on: March 16, 2010, 01:40:56 am »


My gallery adress:, I have CPG 1.4.26 and Highslide 3.04 plugin. How can I force HS to insert into links alt, width and height attributes?

Currently links on main page looks like this (in lastup, topn, anycontent):
Code: [Select]
<a href="albums/nepenthes/rok2010/DSCF5329.jpg" class="highslide" onclick="return hs.expand(this)">
<img src="albums/nepenthes/rok2010/thumb_DSCF5329.jpg" class="image" id="highslide14" border="0"
alt="DSCF5329.jpg" title="Nazwa pliku=DSCF5329.jpg Rozmiar=98KB Rozmiar=768x1024 Data dodania=09 marca 2010"/><br />

I would like to have following attributes and values in <IMG SRC> tag:
1. alt = title of image, instead of filename (or in case of blank title field: alt="")
2. width = 100/75, depending on horizontal/vertical thumbnail
3. height = 75/100, depending on horizontal/vertical thumbnail
Code: [Select]
alt="N. rafflesiana" width="75" height="100"
My knowledge of PHP is rather limited, so be understanding, please :)

Pages: [1]   Go Up

Page created in 0.016 seconds with 19 queries.