On one of my client's sites, the node/* forms (node add and edit) are run over SSL using Secure Pages. For content types using Imagefield, the thumbnail image displayed to the left of the upload image dialog is loaded from the non-SSL site. This generates warnings in IE and Firefox due to the page content not being entirely encrypted.

1. CCK version - 6.X-2.4
2. imagefield version - 6.X-3.0
3. permissions for your tmp and files directory. - 755 for both.
4. download method (public or private files) - public

Comments

quicksketch’s picture

Category: bug » support

I don't think this is being caused by ImageField. ImageField just calls the core function file_create_url(), meaning that all file URLs on your site are probably pointing to http instead of https. This could be caused by an incorrect setting in settings.php, where $base_url is being set to the http URL instead of https.

See http://api.lullabot.com/file_create_url for a code explanation, basically it looks like the global $base_url variable is not set correctly for your site.

quicksketch’s picture

Status: Active » Closed (fixed)

See also #779148: Full URL in Imagefield path causes SSL page / https warning message, which has been moved to the core issue queue.

vorbian’s picture

If you are setting the $base_url in settings.php, try commentingit out, if your site/server configuration does not need it set.