Images Moved To Amazon S3 - Now No Thumbnails

  • philraymond
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 3 months ago #1222 by philraymond
I moved all of my article images up to amazon s3, and now the thumbnails don't show up in the search results. Can this be fixed?

www.healthyeatingstartshere.com (search module is in right sidebar)

Thanks,
Phil

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

More
11 years 3 months ago - 11 years 3 months ago #1223 by andrea_4g
Replied by andrea_4g on topic Images Moved To Amazon S3 - Now No Thumbnails
Could you please turn on 'Show debug messages:" in Custom Properties > Config > Thumbnails, and let us know the error messages (if any)?
Last edit: 11 years 3 months ago by andrea_4g. Reason: spelling

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

More
11 years 3 months ago #1224 by audiadmin
Replied by audiadmin on topic Images Moved To Amazon S3 - Now No Thumbnails
Hello,

We are having similar problems. Turning on the debug this shows up: Remote resource audimedia.iconicweb.com//mediasite/teaserImages/RS5teaser.jpg is not readable.

notice the double slash after domain.

The original url is audimedia.iconicweb.com/mediasite/teaserImages/RS5teaser.jpg (notice the single slash after domain)

Now, on a regular linux server, a double slash path would work in getting the image. But inspecting the audimedia image header, it turns out that it is hosted in Amazon S3 (hence i'm posting here). Testing the double slash in a browser generated an error.

It may be related, but may be not (assuming the double slash issue is solved), when accessing that audimedia image by pasting the correct url in the browser, the response was a dialogue window asking for us to either open or save the file. This differs from a regular server where it would just open the image in the window.
The following user(s) said Thank You: andrea_4g

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

More
11 years 3 months ago #1225 by audiadmin
Replied by audiadmin on topic Images Moved To Amazon S3 - Now No Thumbnails
the links I pasted are prefixed by http : // (the regular protocol text) but was edited/changed to a link by the wysiwyg editor.

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

More
11 years 3 months ago #1226 by andrea_4g
Replied by andrea_4g on topic Images Moved To Amazon S3 - Now No Thumbnails
Thanks for the feedback.
According to our preliminary tests is that double slash that does the damage.

Try editing file components/com_customproperties/helper.php, line 911, from
Code:
$file = $theURL['scheme'] . '://' . $theURL['host']. '/'. $theEscapedPath;
to
Code:
$file = $theURL['scheme'] . '://' . $theURL['host']. $theEscapedPath;

We're going to make this modification part of the next release, if that fixes the issue.
The following user(s) said Thank You: philraymond

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

  • philraymond
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 3 months ago #1235 by philraymond
Replied by philraymond on topic Images Moved To Amazon S3 - Now No Thumbnails
Sorry, it seems I don't get email notifications on responses from this forum (even when checking the checkbox).

Turning on debug doesn't give me anything different (is it in the source code or something?), but your fix did work. It's all good now. Thanks!

Phil

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

Time to create page: 0.144 seconds