Bug 111462 - Exporting multiple "tag" albums in HTML produces invalid hyperlinks on main webpage
Summary: Exporting multiple "tag" albums in HTML produces invalid hyperlinks on main w...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-HTMLGallery (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-25 05:43 UTC by ben.m.gunn
Modified: 2018-09-03 13:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ben.m.gunn 2005-08-25 05:43:13 UTC
Version:           0.7.2 (using KDE 3.4.0 Level "b" , SUSE 9.3)
Compiler:          gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
OS:                Linux (i686) release 2.6.11.4-21.8-default

Problem occurs when using export html function on tags.  The problem only occurs if one is trying to selected multiple "tag" albums.

For example: I want to create a web gallery based on multiple tag selections.  From the album selection window I select "tag: Birds", "tag: Dog", and "tag: Fish".  After the images and HTML documents have been created the konquerer browser is loaded up and shows the main page which links to the sub-pages coresponding to each album.  Both the images and links to the sub-pages are invalid.  When one clicks on the link the browser responds by saying that "Protocol not supported tag". Inspection of the mainpage source code shows that images and links start with "tag: " (e.g. "Tag: Birds/index.html").  Inspection of the filesystem shows that the hyperlinks are logically correct , as the relevant files are stored on the harddisk in directories called "tag: Birds".  However it appears that Konquerer does not accept this kind of snytax. This problem only occurs on the main page.  Subsequent sub-pages (e.g. the "Bird" page) can be individually displayed without any problems.

I have a work around for this problem.  After exporting the HTML, I first change the name of all subdirectories in the webpage root directory by removing the "tag: " prefix (e.g. I change dir "tag: Birds/" to "Birds/").  I then do a search and replace on the source code for the image gallery main page in which I remove the prefix "tag: " from all <img> and <a> tags.  After this has been done, the main page will function correctly.

Additional info:  I have also tested the digikam generated main page (without implementing any work arounds) with firefox.  When clicking on a link, Firefox responds by saying "tag is not a registered protocol".
Comment 1 Renchi Raju 2005-08-25 08:49:59 UTC

*** This bug has been marked as a duplicate of 102219 ***
Comment 2 caulier.gilles 2018-09-03 13:52:10 UTC
Not reproducible with 6.0.0