Advanced search  


CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Highslide 3.04 and alt/width/height  (Read 6592 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.018 seconds with 20 queries.