coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: hms3001 on August 29, 2005, 03:48:29 AM

Title: HTML Gallery
Post by: hms3001 on August 29, 2005, 03:48:29 AM
I was wondering how to add an album of html pages to my gallery. I can't get it to work like any of the other standard files. I'm only guessing it's possible because there's a placeholder icon for html and htm pages along with all the other obscure file types. Thanks in adavance for any help!
Title: Re: HTML Gallery
Post by: Joachim Müller on August 29, 2005, 07:09:14 AM
you'll have to modify your coppermine database with a tool like phpMyAdmin, browse the filetypes table and add an entry for html files there. Be carefull though: you mustn't let others upload to your gallery if you allow html - otherwise, it's a huge security risk.
Title: Re: HTML Gallery
Post by: hms3001 on August 31, 2005, 05:00:35 AM
I see... kind of. How would I go about implementing such a strategy? I downloaded that program but I don't know how or where to install it.
Title: Re: HTML Gallery
Post by: Joachim Müller on August 31, 2005, 09:15:11 AM
take one step at a time. If you haven't installed coppermine yet, do so now. If it's up and running, start modifying it. Not before you even have it. Having a gallery of html pages is not a very clever idea, as html pages usually rely heavily on the graphics and objects that are embedded into it. Moving an html file around, storing it in an album folder will most likely cause the html file to stop working, as all references within it will point to wrong paths (unless you know your way around in html extremely well).
Title: Re: HTML Gallery
Post by: hms3001 on September 01, 2005, 04:20:43 AM
I see then. I was just hoping to find a good way to integrate websites I've done with my other work. But if you think it'll be a hassle I can find another way. Thanks for your help!