Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 221
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 212
Total: 213

Author Topic: Thumb Generation  (Read 5672 times)

0 Members and 1 Guest are viewing this topic.

Offline Cobra-BOM-

  • Member
  • *
  • Posts: 2
    • View Profile
Thumb Generation
« on: July 11, 2007, 01:45:29 pm »
I just installed the Pro version after uninstalling the Lite.  Neither would generate the thumb filename properly.  I see that the program is requiring that the thumb filename be in the following format:

thumb_1_11_07_07_1_36_05.jpg

but the /gallery folder lists the thumb filenames this way:

1_11_07_07_1_36_05_.jpg_thumb

and

1_11_07_07_1_36_05_.jpg_thumb.tmp

What must I do to correct the problem?

Thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Thumb Generation
« Reply #1 on: July 11, 2007, 09:17:31 pm »
Anything in your forum's error log?
The code should rename the _thumb file
Code: [Select]
rename($modSettings['gallery_path'] . $filename . '_thumb',  $modSettings['gallery_path'] . 'thumb_' . $filename);
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Cobra-BOM-

  • Member
  • *
  • Posts: 2
    • View Profile
Re: Thumb Generation
« Reply #2 on: July 12, 2007, 10:43:01 am »
Yes, it is denying permmission to rename ( see below ) but not to read or write.

In IIS systems, the read, write, AND Modify permissions must be set on the server.

I have set the Modify permission and everything works great, thank you.

Code: [Select]
2: rename(C:\Inetpub\wwwroot\html\GameZone\Forums\gallery\1_12_07_07_9_46_49.jpg_thumb,C:\Inetpub\wwwroot\html\GameZone\Forums\gallery\thumb_1_12_07_07_9_46_49.jpg) [<a href='function.rename'>function.rename</a>]: Permission denied
File: C:\Inetpub\wwwroot\html\GameZone\Forums\Sources\Gallery.php
Line: 1065
« Last Edit: July 12, 2007, 10:59:14 am by Cobra-BOM- »

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
6233 Views
Last post November 15, 2006, 11:41:24 am
by SMFHacks
1 Replies
4197 Views
Last post May 07, 2009, 07:23:29 pm
by SMFHacks
2 Replies
2874 Views
Last post October 08, 2013, 09:35:34 am
by insider
6 Replies
5865 Views
Last post January 29, 2014, 02:23:53 pm
by Jens

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal