Skip Menu |

This queue is for tickets about the album CPAN distribution.

Report information
The Basics
Id: 22168
Status: resolved
Priority: 0/
Queue: album

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Wrong img src when using --import
The path in the <img src="..."> tag of html pages for the medium and large image seems to be wrong if --import is used with an absolute path. I used album -v --medium --columns 3 --rows 4 --title "X" --exif --icon --import /path/to/images/ This would produce a subdirectory path/to/images/ in the medium and large directories. The generated img tags look like <img src="/path/to/images/..." ...>, that is, with an incorrect leading slash, turning the URL into a half-absolute one instead of a relative one. Regards, Slaven
On Wed Oct 18 19:25:35 2006, SREZIC wrote: Show quoted text
> The path in the <img src="..."> tag of html pages for the medium and > large image seems to be wrong if --import is used with an absolute path. > > I used > > album -v --medium --columns 3 --rows 4 --title "X" --exif --icon > --import /path/to/images/ > > This would produce a subdirectory path/to/images/ in the medium and > large directories. The generated img tags look like <img > src="/path/to/images/..." ...>, that is, with an incorrect leading > slash, turning the URL into a half-absolute one instead of a relative one. >
Just another note: the filenames in this directory where somewhat non-standard, they looked like 14-dscn0002.jpg or so. If using something like DSCN2063.JPG, then everything works as expected... Regards, Slaven
Yes, album really expects the import directory to be DCF (the ISO standard for digital camera file systems). In 1.04, I've made some changes to interpret file names more liberally. Please let me know your mileage.
The same import directory works now without problems. Thanks!