|
Spiral Scripts Support Forum :: Joomla Extensions |
|
|
|
|
|
Subject :Featured Item Carousel not showing images..
24-02-2009 14:47:16
|
|
|
| Aly22 |
|
| Fresher |
 |
Joined: 24-02-2009 04:10:19
Posts: 3
Location: |
|
|
|
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
20-03-2009 15:25:24
|
|
|
| boggler |
|
| Spiral Scripts Support |
 |
Joined: 18-08-2009 10:14:13
Posts: 87
Location: |
|
|
|
|
|
|
The original poster of this topic has informed me that this issue is now solved. |
IP Logged
|
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 11:54:03
|
|
|
| CBOUQUIN |
|
| Fresher |
 |
Joined: 08-09-2009 12:20:52
Posts: 14
Location: |
|
|
|
|
|
<p>Hello Aly22,</p>
<p>I'm having the same problem, the images don't show up...</p>
<p>How did you solve it ?</p>
<p>Hoping for answers,</p>
<p>Best regards,</p>
<p>Chris<strong><br /></strong></p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 12:13:01
|
|
|
| boggler |
|
| Spiral Scripts Support |
 |
Joined: 18-08-2009 10:14:13
Posts: 87
Location: |
|
|
|
|
|
<p>The most likely reason is if you have spaces in the image file name. This is not permitted in a valid URL, the best thing to do is to replace them with a hyphen (-) character. This is what Google recommend, they interpret these as spaces.</p>
<p>Also if you have special characters that can cause problems. It is best if image file names contain only a to z A to Z 0 to 9 . and -</p>
<p> </p>
<p>The information about this is available in the FAQ on this site.</p>
<p>The resize.php file which resizes the images expects them to be in the image/stories folder, and to be a relative rather than an absolute path. If you dont want this behaviour you can delete or comment out lines 14 and 15 in this file.</p>
<p> </p>
<p>if ( preg_match('/^http/i', $filename)) { die; }<br />if ( ! preg_match('/^images\/stories\//i', $filename )){ die; }</p> |
IP Logged
|
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 12:13:46
|
|
|
| CBOUQUIN |
|
| Fresher |
 |
Joined: 08-09-2009 12:20:52
Posts: 14
Location: |
|
|
|
|
|
<p>Hello,</p>
<p>Thanks for the answer...</p>
<p>But no, ther's no problem with the files names, the images names have no space, and no special character...</p>
<p>Maybe a folder permission...</p>
<p>Where does the module put its thumbnails ?</p>
<p>Best regards,</p>
<p>Chris</p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 12:15:09
|
|
|
| boggler |
|
| Spiral Scripts Support |
 |
Joined: 18-08-2009 10:14:13
Posts: 87
Location: |
|
|
|
|
|
<p>The resize.php file which resizes the images expects them to be in the image/stories folder, and to be a relative rather than an absolute path. If you dont want this behaviour you can delete or comment out lines 14 and 15 in this file.</p>
<p> </p>
<p>if ( preg_match('/^http/i', $filename)) { die; }<br />if ( ! preg_match('/^images\/stories\//i', $filename )){ die; }</p> |
IP Logged
|
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 12:16:06
|
|
|
| CBOUQUIN |
|
| Fresher |
 |
Joined: 08-09-2009 12:20:52
Posts: 14
Location: |
|
|
|
|
|
<p>My article images are in a folder named "uploads" on the root of the website, as recommended by the developpers of the joomsuite resources... ?</p>
<p>Is that the reason why it doesn't work ?</p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 12:30:27
|
|
|
| boggler |
|
| Spiral Scripts Support |
 |
Joined: 18-08-2009 10:14:13
Posts: 87
Location: |
|
|
|
|
|
<p>Yes, that would be the reason.</p>
<p> </p>
<p>You can change the line</p>
<p>if ( ! preg_match('/^images\/stories\//i', $filename )){ die; }</p>
<p> </p>
<p>to</p>
<p> </p>
<p>if ( ! preg_match('/^uploads\//i', $filename )){ die; }</p>
<p> </p>
<p>if you want, or just delete the line altogether.</p>
<p> </p>
<p>The normal place for Joomla articles is in the images/stories folder. This check is to discourage file-snooping.</p> |
IP Logged
|
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 12:36:32
|
|
|
| CBOUQUIN |
|
| Fresher |
 |
Joined: 08-09-2009 12:20:52
Posts: 14
Location: |
|
|
|
|
|
<p>I tried both tricks, replacing, and erasing the code lines in "resize.php"...</p>
<p>But no change, still no images.</p>
<p>All my folders are chmoded 777, so that shouldn't be a problem neither...</p>
<p> </p>
<p>In file "resize.php", it "talks about" jpeg images, mine are jpg... Could that be a problem ?</p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 12:41:56
|
|
|
| CBOUQUIN |
|
| Fresher |
 |
Joined: 08-09-2009 12:20:52
Posts: 14
Location: |
|
|
|
|
|
<p>http://www.64connections.com</p>
<p>If you wanna have a look...<br /><br /></p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 12:42:48
|
|
|
| boggler |
|
| Spiral Scripts Support |
 |
Joined: 18-08-2009 10:14:13
Posts: 87
Location: |
|
|
|
|
|
<p>No that would not be the reason.</p>
<p>The resize.php does require the GD graphics module for php to be available on your server.</p>
<p> </p>
<p>Also you should check its permissions, check that it is not writable.</p>
<p> </p>
<p>You might also try deleting the line</p>
<p> </p>
<p>if ( preg_match('/^http/i', $filename)) { die; }<br /><br /></p>
<p> </p>
<p>If you wish to send me the URL of the site I can have a look for your.</p> |
IP Logged
|
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 12:51:45
|
|
|
| boggler |
|
| Spiral Scripts Support |
 |
Joined: 18-08-2009 10:14:13
Posts: 87
Location: |
|
|
|
|
|
|
<p>OK, I know what the problem is - it is a bug. I will come up with a solution and send you the new version within 2 days.</p> |
IP Logged
|
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 12:54:53
|
|
|
| CBOUQUIN |
|
| Fresher |
 |
Joined: 08-09-2009 12:20:52
Posts: 14
Location: |
|
|
|
|
|
<p>http://www.64connections.com</p>
<p> </p>
<p>I erased 3 lines :</p>
<p>if ( preg_match('/^http/i', $filename)) { die; }<br />if ( ! preg_match('/^images\/stories\//i', $filename )){ die; }<br />if ( preg_match('/[^\\/]/', $ds)){ die; }</p>
<p>But doesn't work...</p>
<p> </p>
<p>And in module configuration, I have "<span class="editlinktip">Use GD for Images" set to no... ?<br /></span></p>
<p> </p>
<p><span class="module">By the way, I have the same problem with "</span><strong><span class="small">mod_featureditems_pro" also...</span><br /></strong></p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
09-09-2009 12:56:37
|
|
|
| CBOUQUIN |
|
| Fresher |
 |
Joined: 08-09-2009 12:20:52
Posts: 14
Location: |
|
|
|
|
|
<p>OK, thanks...</p>
<p>Keep me in touch,</p>
<p>Best regards,</p>
<p>Chris</p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
10-09-2009 08:28:35
|
|
|
| boggler |
|
| Spiral Scripts Support |
 |
Joined: 18-08-2009 10:14:13
Posts: 87
Location: |
|
|
|
|
|
<p>I have emailed new versions of featured items carousel and pro to you. You should find that they work much better. Let me know if you have further problems.</p>
<p> </p>
<p>The new versions have been added to this site as well.</p> |
IP Logged
|
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
10-09-2009 08:53:03
|
|
|
| CBOUQUIN |
|
| Fresher |
 |
Joined: 08-09-2009 12:20:52
Posts: 14
Location: |
|
|
|
|
|
<p>Hello,</p>
<p>Thanks for the update, but the images still don't show... ?</p>
<p>I tried with GD set to "yes", and to "no"...</p>
<p>I think GD is installed on my server, please check picture :</p>
<p><img src="http://www.64connections.com/image6.png" border="0" /></p>
<p>www.64connections.com...</p>
<p>Hope you'll have the solution... ?</p>
<p>Best regards,</p>
<p>Chris</p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
10-09-2009 12:43:01
|
|
|
| boggler |
|
| Spiral Scripts Support |
 |
Joined: 18-08-2009 10:14:13
Posts: 87
Location: |
|
|
|
|
|
<p>Hello the problem seems to be happening because your images are not strictly images, they are generated dynamically as the output of Joomsuite resources. There may be a problem with the image mime-type generated as a result. Or they may not have a Joomsuite field type of 'image'.</p>
<p>You may find that the images show if you do not try to use gd.</p>
<p>You need to make sure that the images are either 'image' field types, or are embedded in an html page. They need to be actual jpgs.</p>
<p>Also remember not to include spaces in the image URL.</p>
<p>I think that the most likely explanation is that the fields that you are trying to display are not of type 'image'.</p> |
IP Logged
|
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
10-09-2009 15:04:48
|
|
|
| CBOUQUIN |
|
| Fresher |
 |
Joined: 08-09-2009 12:20:52
Posts: 14
Location: |
|
|
|
|
|
<p>GD is turned off, no image...</p>
<p> </p>
<p>I can't use "image" type in resources, because it's not an "uploadable" type, and it's a "multiple users/submiters" website...</p>
<p> </p>
<p>So I use "picture" type, files are jpg, no spaces...</p>
<p> </p>
<p>I bought your extensions because thy're on the "mighty extensions" website in resources modules, so I thought it would work... ?</p> |
IP Logged
|
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
10-09-2009 15:30:42
|
|
|
| boggler |
|
| Spiral Scripts Support |
 |
Joined: 18-08-2009 10:14:13
Posts: 87
Location: |
|
|
|
|
|
<p>It does work, the module works with images embedded in html and image plugin fields, that is normal article image data, as described on this site and the mighty extensions site.</p>
<p> </p>
<p>If you wanted it to work with special field types such as upload fields it was up to you to check whether this would work.<br /><br />It is not possible to support arbitrary field types, as the format for Joomsuite fields can vary too widely.<br /><br />That said, I will check to see if it is possible to modify the module to work with the picture plugin.<br /><br />It is a good module, I have put a lot of work into, so please do not insult my work when the fault is yours.</p> |
IP Logged
|
|
susan subway boggler |
|
|
|
|
|
|
Subject :Re: Featured Item Carousel not showing images..
10-09-2009 17:07:06
|
|
|
| boggler |
|
| Spiral Scripts Support |
 |
Joined: 18-08-2009 10:14:13
Posts: 87
Location: |
|
|
|
|
|
<p>It turns out that it is possible to adapt the module to support the picture field as well.</p>
<p> </p>
<p>I will send you the new version and add it to this site.</p> |
IP Logged
|
|
susan subway boggler |
|
|
|
|