Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 166
Total: 166

Author Topic: Thumb Generation  (Read 5665 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: 16436
    • 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
6228 Views
Last post November 15, 2006, 11:41:24 am
by SMFHacks
1 Replies
4189 Views
Last post May 07, 2009, 07:23:29 pm
by SMFHacks
2 Replies
2866 Views
Last post October 08, 2013, 09:35:34 am
by insider
6 Replies
5825 Views
Last post January 29, 2014, 02:23:53 pm
by Jens

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal