Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

error creating thumbnail

  • bruce goldstein
  • bruce goldstein's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 8 months ago - 15 years 7 months ago #17303 by bruce goldstein
error creating thumbnail was created by bruce goldstein
Now I'm getting this "error creating thumbnail" message.  The slideshow works but no thumbnail. I'm using Lytebox popup engine.   Yes, my temp folder is chmodded to 777.  I don't know what a GD2 library is though but my server must support it because the thumbnails used to work just fine.  Can anyone offer any other suggestions for getting the thumbnails to work again?

thanks. sigh.

here is the page : www.harvestingjustice.org/index.php/farmworkers-feed-us-all

*edit* We need to publish the article TODAY and I can't get this thing to work so we're going to have to NOT use this plugin which totally sucks.  If anyone can help please do because we'd like to use this component in the future.  There has to be some way to fix the damn thing.

Please Log in or Create an account to join the conversation.

  • bruce goldstein
  • bruce goldstein's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 7 months ago - 15 years 7 months ago #17304 by bruce goldstein
Replied by bruce goldstein on topic Re: error creating thumbnail
Here is the code in the jwsigpro.php file for creating the thumbnail.  Something must be wrong with this code:
// helper function to create the thumb
	function makeThumb($fromname, $toname, $image_type, $_quality_, $_width_, $_height_ ){
		
		$img = new sigpro_engine;
		// get parameters
		$img->image_type   = $image_type;
		$img->quality      = $_quality_;
		$img->max_x        = $_width_;
		$img->max_y        = $_height_;
		$img->save_to_file = true;
		// generate thumbnail and show it
		$img->GenerateThumbFile($fromname, $toname);
		if(file_exists($toname)) return  true; else return false;
	}

I noticed that the variable names are slightly different.  Here it's saying to get the variable $toname for example but in the jwsigpro_engine.php file there's an underscore in that variable, as in $to_name.  That seems like it would cause a problem but that doesn't explain why it used to work and now it doesn't.  I never changed those files.

Also, I'm guessing that it's got to get these variables from a database, so I'm looking in MySQL databases (through phpMyAdmin) and trying to find the database there.  (I thought I  might be able to see exactly what the variables are called) but I can't find it.  Obviously I know very little about php and MySQL but I've found because of situations like this I have to learn it.  Am I on the right track?

Please Log in or Create an account to join the conversation.

  • bruce goldstein
  • bruce goldstein's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 7 months ago #17305 by bruce goldstein
Replied by bruce goldstein on topic Re: error creating thumbnail
Another possibility: I also changed the z-index (upon the advice in another thread about how to fix something else that was wrong).  Could the z-index have anything to do with the thumbnails not appearing?

(wouldn't think so, but what do I know?)

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
15 years 7 months ago #17306 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: error creating thumbnail
Hi my friend!

Can you please check out from your joomla administrator at
Help -> System info -> (tab)PHP Information
if you can find inputs like this?
GD Support - enabled
GD Version - bundled (2.0.34 compatible)

We must be sure that the server can create thumbnails.
I download you image
http://www.harvestingjustice.org/images/stories/dotter/1.jpg
and I used it to my system and I was able to create thumbnail.

Also check out this post
forum.joomlaworks.net/index.php?topic=5618.0
and try to rename the image file to lowercase strings.

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • bruce goldstein
  • bruce goldstein's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 7 months ago - 15 years 7 months ago #17307 by bruce goldstein
Replied by bruce goldstein on topic Re: error creating thumbnail
Yes,
I have GD support enabled and GD Version bundled (2.0.34 compatible).  Like I said, they used to work so I'm sure my server CAN create thumbnails it's just not anymore for some reason.

What do you think about those variable names being slightly different as I pointed out above?

Or what else could be causing it? 

I do have all lowercase file names in this example which also has error creating thumbnail problem: www.harvestingjustice.org/index.php/immigration-labor-rights/120-support-indian-citizens-victimized-by-us-guestworker-program

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
15 years 7 months ago #17308 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: error creating thumbnail
Hi again my friend.

Can you please tell me if you installed some other plugin or changed something else
before the plugin stops to work?

I'm asking it because could be some conflict.
As you said, the plugin used to work, that means that something made it stop working.

Can you remember if you change the code or something else?

If you uninstall the plugi and re-install it, the problem still exist?

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum