- Posts: 4
- Thank you received: 0
No thumbnails in search result with CP 2.0.1
- kulturgoteborg
- Topic Author
- Offline
- New Member
Less
More
13 years 1 month ago #85
by kulturgoteborg
No thumbnails in search result with CP 2.0.1 was created by kulturgoteborg
I cant get thumbnails to work in the searchresult.
Looked att your demo site and the only differens i could spot where the version numbers of Custom Properties.
Yours are Version 2.0 (2011-04-01) and mine is Version 2.0.1 (2011-09-09).
Cant find the old version around either so i cant try it.
Had this up and working with joomla 1.5 and custom properties but made a clean install with 1.7 so its not server related.... or you made some changes in the new version that the server cant handle? If so . . is there a workaround? Or is there somewhere i can find 2.0 (2011-04-01) to try out?
Or do you have any other suggestion?
Edit button didnt work at first but when i installed it separate again it worked. Is there something similar with the thumbnails? In that case, what do i need to reinstall? Any particular order?
Really need this up and running.
Thanks.
Looked att your demo site and the only differens i could spot where the version numbers of Custom Properties.
Yours are Version 2.0 (2011-04-01) and mine is Version 2.0.1 (2011-09-09).
Cant find the old version around either so i cant try it.
Had this up and working with joomla 1.5 and custom properties but made a clean install with 1.7 so its not server related.... or you made some changes in the new version that the server cant handle? If so . . is there a workaround? Or is there somewhere i can find 2.0 (2011-04-01) to try out?
Or do you have any other suggestion?
Edit button didnt work at first but when i installed it separate again it worked. Is there something similar with the thumbnails? In that case, what do i need to reinstall? Any particular order?
Really need this up and running.
Thanks.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
13 years 1 month ago #86
by andrea_4g
Replied by andrea_4g on topic Re: No thumbnails in search result with CP 2.0.1
The difference between 2.0 and 2.0.1 is only in plugin processing. We did not touch the code that creates the thumbnails.
In fact we just (just means 5 minuts ago )updated our demo site demo1720.solidsystem.it to 2.0.1 and, as expected, thumbnails keep being created.
So, once we exclude the server and the programme, we are left with only one possibility: installation related issues. Probably write permissions. The fact that parts of CP were not working right after the installation, and needed a second, "in-Joomla" installation seem to corroborate my hypothesis.
Thumbnail generation requires write permissions on some directories to work. Installation by FTP transfer is known to cause permissions / ownership issues. You should use Components > Custom Properties > Utilities > Check Directories to make sure sure components/com_customproperties/images is writable.
If not, take the appropriate actions (change permissions, ownerships, etc etc )
In fact we just (just means 5 minuts ago )updated our demo site demo1720.solidsystem.it to 2.0.1 and, as expected, thumbnails keep being created.
So, once we exclude the server and the programme, we are left with only one possibility: installation related issues. Probably write permissions. The fact that parts of CP were not working right after the installation, and needed a second, "in-Joomla" installation seem to corroborate my hypothesis.
Thumbnail generation requires write permissions on some directories to work. Installation by FTP transfer is known to cause permissions / ownership issues. You should use Components > Custom Properties > Utilities > Check Directories to make sure sure components/com_customproperties/images is writable.
If not, take the appropriate actions (change permissions, ownerships, etc etc )
Please Log in or Create an account to join the conversation.
- kulturgoteborg
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
13 years 1 month ago #88
by kulturgoteborg
Replied by kulturgoteborg on topic Re: No thumbnails in search result with CP 2.0.1
Ok. I found out after a lot of hair ripping from my skull that i cant use images from inside sampledata/fruitshop for some reason. (Doesnt work on your site either. I did a test page)
Downloading that image and uploding it somewhere else worked though. Doesnt seem to be any difference in permission for the folders ive used. And all Custom Properties dirs where writeable.
Anyway. Problem (for me) solved. Dont use images from sampledata/fruitshop
Downloading that image and uploding it somewhere else worked though. Doesnt seem to be any difference in permission for the folders ive used. And all Custom Properties dirs where writeable.
Anyway. Problem (for me) solved. Dont use images from sampledata/fruitshop
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
13 years 1 month ago #89
by andrea_4g
Replied by andrea_4g on topic Re: No thumbnails in search result with CP 2.0.1
I'm sure there was much hair ripping to troubleshoot that strange behavior! We owe you a wig
I'm positive we'll find an explanation and a solution for this weird problem.
I'm positive we'll find an explanation and a solution for this weird problem.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
13 years 1 month ago - 13 years 1 month ago #90
by andrea_4g
Replied by andrea_4g on topic Re: No thumbnails in search result with CP 2.0.1
The problem has a broader impact: "most" images outside image/stories directory does not generate a thumbnail. I wrote "most" and not all, because images linked with an absolute URL (http://) do generate a thumbnail.
Origin: the problem is caused by a left over from the Joomla 1.5 version:
- The J 1.5 media manager has the "Path to Image Folder" set to images/stories as default.
- The J 1.6/7 media manager "Path to Image Folder" is set to images.
When we ported Custom Properties we did not notice that subtle change and did not made any modification to the newer version.
Future actions: fix this problem in the next release of CP 2.0 for J 1.6/7.
Workaround 0: save images into a directory under images/stories as suggested by the original poster.
Workaround 1:
edit file administrator/components/com_custom properties/contentelement.class.php line 373
from
obviously to:
Workaround 2:
Edit file administrator/components/com_custom properties/samplece/content.xml, line 25
from
to
then install or reinstall 'content' content element connector.
Origin: the problem is caused by a left over from the Joomla 1.5 version:
- The J 1.5 media manager has the "Path to Image Folder" set to images/stories as default.
- The J 1.6/7 media manager "Path to Image Folder" is set to images.
When we ported Custom Properties we did not notice that subtle change and did not made any modification to the newer version.
Future actions: fix this problem in the next release of CP 2.0 for J 1.6/7.
Workaround 0: save images into a directory under images/stories as suggested by the original poster.
Workaround 1:
edit file administrator/components/com_custom properties/contentelement.class.php line 373
from
Code:
$this->images_dir = 'images/stories';
Code:
$this->images_dir = 'images';
Workaround 2:
Edit file administrator/components/com_custom properties/samplece/content.xml, line 25
from
Code:
<field name="images_dir" type="text" required="0">images/stories</field>
Code:
<field name="images_dir" type="text" required="0">images</field>
Last edit: 13 years 1 month ago by andrea_4g. Reason: typo
The following user(s) said Thank You: kulturgoteborg
Please Log in or Create an account to join the conversation.
- kulturgoteborg
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
13 years 1 month ago #102
by kulturgoteborg
Replied by kulturgoteborg on topic Re: No thumbnails in search result with CP 2.0.1
Ýes. I discovered that some images still didnt render so i checked back here.
Followed your instructions and now it seems so work for all images under "images"
Thank you.
Followed your instructions and now it seems so work for all images under "images"
Thank you.
Please Log in or Create an account to join the conversation.
Time to create page: 0.171 seconds