Search…

X3 Photo Gallery Support Forums

Search…
 
virtualsof
Experienced
Topic Author
Posts: 24
Joined: 15 Jul 2007, 08:30

Double css class declaration in index.image.phtml

14 Jun 2013, 12:35

Just to point out a small error at linde 52 to 59 of index.image.phtml file :
Code
<img class="single_image" id="<?php echo htmlspecialchars($fotomotoId); ?>"
src="<?php echo htmlspecialchars($this->file->getPath()); ?>"
alt="<?php echo htmlspecialchars(t($conf->get('/config/imagevue/settings/autoTitling') ? $this->file->getTitle() : $this->file->title)); ?>"
width="<?php echo htmlspecialchars($this->file->width); ?>"
height="<?php echo htmlspecialchars($this->file->height); ?>"
style="background: #<?php echo ivPool::get('conf')->get('/config/imagevue/thumbnails/thumbnail/backgroundColor')?>"
class="<?php echo ($this->file->width > $this->file->height)?'horizontal':'vertical' ?>"
/>
Maybe this form should be better :
Code
<img id="<?php echo htmlspecialchars($fotomotoId); ?>"
src="<?php echo htmlspecialchars($this->file->getPath()); ?>"
alt="<?php echo htmlspecialchars(t($conf->get('/config/imagevue/settings/autoTitling') ? $this->file->getTitle() : $this->file->title)); ?>"
width="<?php echo htmlspecialchars($this->file->width); ?>"
height="<?php echo htmlspecialchars($this->file->height); ?>"
style="background: #<?php echo ivPool::get('conf')->get('/config/imagevue/thumbnails/thumbnail/backgroundColor')?>"
class="single_image<?php echo ($this->file->width > $this->file->height)?' horizontal':' vertical' ?>"
/>
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Double css class declaration in index.image.phtml

15 Jun 2013, 06:58

Good one, thanks!

This is fixed in Imagevue 2.8.10.2 released just now.
firedev.com