Author Topic: Preview uploads disable  (Read 3058 times)

0 Members and 1 Guest are viewing this topic.

Offline karlito

  • Newbie
  • *
  • Posts: 11
    • View Profile
Preview uploads disable
« on: May 04, 2006, 05:51:35 AM »
Thank you for a very nice album.

After using a bit I have a question answer to which I couldn’t find in the forum.
And to be honest I even don’t know where to post my question…

So the question is: when I choose that images will be resized by cd, then it would be better that on the upload page the upload of previews would be disabled. Otherwise people uploading there big images and it ruins everything.  Is there possibility to switch it off somewhere (the uploading of previews)  or where in the code can I do it?

Thank you in advance.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Preview uploads disable
« Reply #1 on: May 04, 2006, 06:08:52 AM »
1) you can control the size of the thumbnails from the settings, that way you can privent people from uploading larger thumbnails then you wanted.
2) by removing part for thumbnails from template/<your template>/member_uploadform.html would disable it ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)