Welcome, Guest. Please login or register.
Did you miss your activation email?
06 Oct 2008, 10:39

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: That old cataloger missing image problem!  (Read 1115 times)
0 Members and 1 Guest are viewing this topic.
chipper
Forum Member
*

Karma: 0
Offline Offline

Posts: 42


« on: 20 Aug 2007, 10:54 »

(Have found a number of posts referring to this but they either petered out or I didn't understand the solution!)

The problem is that images are not displaying at all when I use the Cataloger module

I seem to be able  to upload images; although no real confirmation is given I have checked that the images show up in the cataloger folders on my remote site. However none of these images show up on the actual pages. What could I be doing wrong?

Am very impressed with the module - excellent work and much appreciated - but how can I sort this one out?

Simpe answers for simple person please!  Wink

Thanks and Regards




Logged
hansom
Forum Member
*

Karma: 0
Offline Offline

Posts: 48


« Reply #1 on: 28 Aug 2007, 15:18 »

The problem is that images are not displaying at all when I use the Cataloger module

I seem to be able  to upload images; although no real confirmation is given I have checked that the images show up in the cataloger folders on my remote site. However none of these images show up on the actual pages.

I'm having the same problem. Is there anyone with a solution?
Logged
chipper
Forum Member
*

Karma: 0
Offline Offline

Posts: 42


« Reply #2 on: 28 Aug 2007, 17:27 »

Hi - I was beginning to feel very lonely!

I have just made a sort of breakthrough - after playing around for ages I downloaded the svn version of Cataloger - I then renamed the folder from "Trunk" to Cataloger and ftp'd it to the modules folder.

It then showed up in the module list from where I installed it (just giving those instructions for anyone as dense as me) Download link is: http://dev.cmsmadesimple.org/scm/?group_id=47

Now I have images! Problem is that I get 2 duplicated thumbnails for every entry and the css is out of whack for what I want - however am so pleased to have images at all that al least this is progress.

If anyone has fixed the duplicate image problem let me know - I will now dedicate my time to fiddling about with the css.

Regards
Lynne



Logged
hansom
Forum Member
*

Karma: 0
Offline Offline

Posts: 48


« Reply #3 on: 28 Aug 2007, 18:04 »

I haven't tried the SVN code yet, using version 0.5.5. at the moment.

You say that the images are uploaded correctly into both the 'catalog' and the 'catalog_src' directories, correct? On my server the images only get to the 'catalog_src' directory, the 'catalog' directory remains empty.

I've tried changing permissions, without any luck. It really feels like I'm in the dark right now... And it used to work before™... at least on my development server.

I really need some help here please, I gotta get this working...
Logged
hansom
Forum Member
*

Karma: 0
Offline Offline

Posts: 48


« Reply #4 on: 28 Aug 2007, 18:41 »

You do have the {metadata} tag at the top of your template, right after <head>?...

You asking me? Please forgive me for asking, but what what does that have to do with the Cataloger images not being uploaded/handled/displayed correctly?

And yes, I do have the {metadata} tag, inside the head element.
Logged
hansom
Forum Member
*

Karma: 0
Offline Offline

Posts: 48


« Reply #5 on: 28 Aug 2007, 19:54 »

I would be really grateful if someone could explain this to me:

As it says in the docs:
Quote
When you upload images, the original is stored. When someone visits a page, the reduced size images are requested using a special URL, which will redirect the user's browser to the scaled image if it exists, and creating the scaled image if it doesn't. This allows you to change the size of images, without having to re-upload all the images, or rescaling them all at once.

It seems to me that the file /modules/Cataloger/Cataloger.Image.php is responsible for this, and that may be where the problem lies. I tried to load the corresponding url, like this: http://hostname/modules/Cataloger/Cataloger.Image.php?i=testimage_s_1_100_0.jpg&ac=76221 which resulted in an Internal Server Error.

I then made a copy of the file - test.php and tried to load that url instead. And this time it worked as it should. An image was generated and copied into the 'catalog' directory and displayed in the browser. Apart from the name, the difference between the two files is that the newly created 'test.php' has the permissions 644 while the original one is 664 (like all the other php files in my CMSMS installation).

So why does the permissions on the php file matter? Why doesn't the image processing work if the group has write permissions?

Please enlighten me!


« Last Edit: 29 Aug 2007, 08:50 by hansom » Logged
sonictrip
Forum Member
*

Karma: 0
Offline Offline

Posts: 77


« Reply #6 on: 30 Jan 2008, 04:45 »

Hi,

Im having a similar problem, no image gets uploaded when i add a cataloger-item product. I tried changing the permissions on the cataloger.image.php file but it still wont upload. Any ideas?

Thanks,
Fran.
Logged
carasmo
Forum Member
*

Karma: 5
Offline Offline

Posts: 163


« Reply #7 on: 10 May 2008, 13:45 »

Okay. It makes no sense, but when a person moves their site to another server, for some reason the cataloger images stop being able to upload and the thumbs don't show up, and sometimes the larger images don't show up either.

First, check that the permissions on the uploads/images/catalog

and the uploads/images/catalog_src

folders and CONTENTS are set to 664

You'd think that clearing the cache in the admin would work. But it didn't for me. I tried changing the umask and various other things. But since the image manager worked, I figured it was cataloger itself. The post above this gave me the other clue.

Now, because of the hardcoded path to modules/cataloger/Cataloger.Image.php in the sql (I don't know why), changing the name of "Cataloger.Image.php" to "Test.Image.php" completely fixed everything.

You also have to replace the references/calls to "Cataloger.Image.php" in in the following files located in the modules/cataloger dir:

contenttype.catalogitem.php - find the words "Cataloger.Image.php" and change to "Test.Image.php"
Cataloger.module.php - find the words "Cataloger.Image.php" and change to "Test.Image.php"

You can, of course, change the "Cataloger.Image.php" to "Cataloger2.Image.php" and then change it in the references. Basically you just got to change the name.

Permissions should be 664, or at least that's what's working for me.


Logged
Tamborine
Forum Member
*

Karma: 0
Offline Offline

Posts: 1


« Reply #8 on: 29 Aug 2008, 08:33 »

Hello,
as most posts concerning the image problem on cataloger redirect here, i think this should be the right place to expose my problem.

I have cataloger 0.7
My website is hosted at free.fr - this provider does not allow CHMOD changes in directories so i have to deal with it like that. Until now, CMS MS worked without problem.
I have build my website online, so it's not a problem of moving the site to another server/location.

I've tried to upload images using cataloger's form but they will never show up in the category or item page. Only a simple link, or alternate text of the image, is displayed in best cases. When looking at the websites directories with my FTP client, in the /modules/cataloger/images directory, there is no image.

I have tried the solution explained in the previous message. I made all the changes successfully, but with no result.
I wonder if there are more changes to do (expecially about the paths from the root, in the files) to make this work.

I do believe the solution is simple, but i still can't fix it.

Any new ideas?
Logged
mark
Available for Consults
Support Guru
Power Poster
****

Karma: 125
Offline Offline

Posts: 5758

Location: Arizona


Keepin an eye out for you...


WWW
« Reply #9 on: 31 Aug 2008, 02:28 »

Have you tried to go to File manager and then in settings tick the show all files and then submit then go to view files and get all the folders/files to view by hitting the top folder then go to your folder ansd see if you can change the permission there?...
Logged

Go to Extensions Modules/Tags click the name of the module/tag or the word Help to the right to get the parameters it takes...
Not sure what ver. CMSMS, PHP, server OS, etc. try the Support Tool in your page...
CMSMS hosting available now, with installation, let me know if your interested...

WHY oh why, can anyone tell me, does it seem like no one reads all the pages that come with a default install.

OK if you removed the default content read it here... http://multiintech.com/default/
buffalokill
Forum Member
*

Karma: 0
Offline Offline

Posts: 4

Location: Backwoods, Idaho



« Reply #10 on: 26 Sep 2008, 14:19 »

If you've tried all the above methods with no success, Try This:

open your config.php file. Near the bottom.

Swap this:

$config['image_manipulation_prog'] = 'IM';
$config['image_transform_lib_path'] = '/usr/local/bin/';


For This:

#$config['image_manipulation_prog'] = 'IM';
#$config['image_transform_lib_path'] = '/usr/local/bin/';

$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
Logged
Pages: [1]
Print
Jump to: