Author Topic: Uploading Question  (Read 4014 times)

0 Members and 1 Guest are viewing this topic.

Offline Cynara

  • Pre-Newbie
  • Posts: 5
    • View Profile
Uploading Question
« on: December 14, 2006, 12:11:55 PM »
hello,

I know I've asked this..and to be honest I don't remember how long ago it was...

I use 4images, when I or others upload...we have to upload the image twice..once for thumbnail, once for media..

I've seen tonight (this morning rather) a 4images site that has completely eliminated the need for uploading theimage twice...

I'd LOVE to eliminate that as well...is there a way to do this?

Cyn

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: Uploading Question
« Reply #1 on: December 14, 2006, 12:16:20 PM »
Just set "Auto-create thumbnail" to "Yes" in your settings.
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: Uploading Question
« Reply #2 on: December 16, 2006, 08:31:51 AM »
After you set "Auto-Create Thumbnail" to yes you can also remove the code in templates/[your theme]/member_uploadform.php so people realize they do not have to upload a thumbnail (optional of course)
If you have the default member_uploadform.php you can remove the code below.

Find and Remove:
Code: [Select]
<td class="row1" valign="top">
  <b>{lang_thumb_file}</b><br />
  <span class="smalltext">
  {lang_max_filesize}<b>{max_thumb_filsize}</b><br />
  {lang_max_imagewidth}<b>{max_thumb_imagewidth}</b><br />
  {lang_max_imageheight}<b>{max_thumb_imageheight}</b><br />
  </span>
</td>
            <td class="row1">
              <b>Upload:</b><br />
  <input type="file" name="thumb_file" class="input" /><br />
  <b>URL:</b><br />
  <input type="text" name="remote_thumb_file"  size="30" value="{remote_thumb_file}" class="input" /><br />
  <span class="smalltext"><b>{lang_allowed_file_types}</b> {allowed_thumb_types}</span>
            </td>

Make sure you back up the html first. Just incase this is not something you want or want to add it back in future.