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: 218
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 220
Total: 220

Author Topic: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK  (Read 29233 times)

0 Members and 1 Guest are viewing this topic.

Offline Globber

  • Member
  • *
  • Posts: 12
    • View Profile
NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« on: December 06, 2006, 11:23:01 pm »
Looks like a great mod but with no thumbnails driving me up the wall. In Safari shows thumbnail as a broken link in Firefox shows nothing and has no access to main image. Broken link in Safari does respond to show full image.

Help if possible as expecting large usage in coming weeks.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: no thumnails
« Reply #1 on: December 06, 2006, 11:25:22 pm »
It might be the godaddy hosting. Are any files being uploaded? Check the gallery folder that folder needs to be writable.
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 Globber

  • Member
  • *
  • Posts: 12
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #2 on: December 06, 2006, 11:32:30 pm »
Gallery is 777, large format pictures inside, where do thumbnails get stored?

Be grand if got this working.. tried a bunch of photo galleries and this is great as hooks with the forum also on the site.

Offline Globber

  • Member
  • *
  • Posts: 12
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #3 on: December 06, 2006, 11:37:38 pm »
Attached is safari and firefox screen. Can see on firefox no links at all so thus cannot even get to the large image. On safari if click on ?link you go to large image

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #4 on: December 06, 2006, 11:42:19 pm »
Thumbnails would be also located in the gallery. Folder this problem has been reported in the past for some hosting configurations I do not currently have a fix for it.
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 Globber

  • Member
  • *
  • Posts: 12
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #5 on: December 06, 2006, 11:47:16 pm »
Understood. I am running a test of Image Magick to see what it says. Perhaps... I am new to this but is there a path built into the thumbnail scrpt that runs it a differnt path..

for example with coppermine it wanted me to link to imagemagick with /usr/lib/bin but I needed to add /usr/local/lib/bin for it to find it. It found it but than could not run the script. I am brand new to this but walking myself away find sometimes it is a simple path issue.

By the way great support!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #6 on: December 06, 2006, 11:56:47 pm »
Hmm just had an idea open up Gallery.php in the sources folder
Find
Code: [Select]
$IM_Installed = function_exists('NewMagickWand');
Replace with
Code: [Select]
$IM_Installed = false;
And see if that fixes it that might be a problem if running SMF 1.0.x
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 Globber

  • Member
  • *
  • Posts: 12
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #7 on: December 07, 2006, 12:08:45 am »
Ok it created a .gif file this time but still does not display in the first page....

Step 1!!!

Now Step 2!!!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #8 on: December 07, 2006, 12:11:42 am »
Explain? Did it create the thumbnail now? For the older images they will need to reuploaded so a thumbnail is now created
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 Globber

  • Member
  • *
  • Posts: 12
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #9 on: December 07, 2006, 12:12:58 am »
Sorry f$ed up in my count. I figured that I had to upload a new image to see if it worked and thought it created a thumb but I miscounted as I had uploaded a gif file.

So I apologize same problem.


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #10 on: December 07, 2006, 12:17:53 am »
What's the SMF version you are running?
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 Globber

  • Member
  • *
  • Posts: 12
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #11 on: December 07, 2006, 12:22:29 am »
I just downloaded the latest SMF today. I had it on another server before and like it.

I went on safari and saved the question mark link photo here is the result...

The requested URL /coppermine/gallery/thumb_1_06_12_06_10_04_21.jpg was not found on this server

So the link knows where to look for the thumb but the thumb is not getting created. Any  thing else I can try...

Offline Samppa

  • Member
  • *
  • Posts: 2
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #12 on: December 09, 2006, 07:01:42 am »
I apologize my bad language

I had same problem. Gallery made thumbs, but their CHMOD was 600, so they aren't readable. When i chmod em they shown normally. But i don't know how to solve this problem. It's annoying to chmod those thumbs manually after adding a image.

Offline Globber

  • Member
  • *
  • Posts: 12
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #13 on: December 09, 2006, 10:21:23 am »
Samppa,

Where would your thumbs be created. The administrator told me the thumbs should get created in the Gallery folder but mine do not appear in it.
Could you actually see your thumbs in the gallery folder or had to change the CHMOD before you could even see them listed in the gallery folder.

I am going to try to find thumbs in my gallery wtih ssh and see if I have the same issue. If so than adminstrator should be able to help us with script to change that from occuring.

Thanks will give your ideas a try.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: NO THUMBNAILS- PHP 5/GODADDY SERVER/INSTALLED IMAGE MAGICK
« Reply #14 on: December 09, 2006, 12:14:43 pm »
I apologize my bad language

I had same problem. Gallery made thumbs, but their CHMOD was 600, so they aren't readable. When i chmod em they shown normally. But i don't know how to solve this problem. It's annoying to chmod those thumbs manually after adding a image.
Try this
Open Gallery.php in the sources folder
Find around line 596
Code: [Select]
//Create thumbnail
require_once($sourcedir . '/Subs-Graphics.php');
if(function_exists('parse_bbc'))
{
createThumbnail($modSettings['gallery_path'] . $filename, 120, 78);
rename($modSettings['gallery_path'] . $filename . '_thumb',  $modSettings['gallery_path'] . 'thumb_' . $filename);
$thumbname = 'thumb_' . $filename;
}
else
{
//For 1.0.8
generateThumbnail($modSettings['gallery_path'] . $filename, $modSettings['gallery_path'] . 'thumb_' . $filename, 120, 78);
$thumbname = 'thumb_' . $filename;
}
Add after
Code: [Select]
@chmod($modSettings['gallery_path'] . $thumbname, 0644);
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/

 

Related Topics

  Subject / Started by Replies Last post
6 Replies
9651 Views
Last post October 13, 2006, 09:48:18 am
by BJ05
3 Replies
12287 Views
Last post February 15, 2007, 09:17:29 am
by txpoolman
6 Replies
6028 Views
Last post March 14, 2008, 07:56:02 am
by mlsred
1 Replies
5634 Views
Last post July 26, 2009, 08:22:13 pm
by SMFHacks
0 Replies
3549 Views
Last post October 06, 2010, 08:11:17 pm
by mxcape21

+- 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