Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: HTML Gallery  (Read 2901 times)

0 Members and 1 Guest are viewing this topic.

hms3001

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
HTML Gallery
« 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!
« Last Edit: September 01, 2005, 11:18:37 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: HTML Gallery
« Reply #1 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.
Logged

hms3001

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: HTML Gallery
« Reply #2 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: HTML Gallery
« Reply #3 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).
Logged

hms3001

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: HTML Gallery
« Reply #4 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!
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.