The "Random Image" block in an HTTPS site does compose a HTTP path for the thumbnail image.
The image link is correct.
For the same site the other thumbnails and images path are rendered correctly with HTTPS.

This is only a little annoying because the browser says that the site is only "partially encrypted".

Comments

joachim’s picture

Status: Active » Postponed (maintainer needs more info)

The code that makes that is identical to the image on node teasers. Do those work?

nicolap’s picture

My site doesn't have user access: only the administrator can login.
When i'm logged in the random image use correctly the HTTPS.
When i'm not logged in (a normal visitor) the random image use only HTTP but all the others image in the site are with HTTPS.

This is bad because some browser alert the user that there is an unprotected content in the page :-(

Maybe this is not a problem with the image module...

nicolap’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Now the problem is gone.
I haven't changed nothing...
Maybe some cache was involved (but I tried more times to clear drupal cache).
Sorry for the noise...

joachim’s picture

NP, thanks for reporting back :)