Closed (fixed)
Project:
ImageField
Version:
6.x-3.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2009 at 14:53 UTC
Updated:
17 Jun 2010 at 01:37 UTC
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
Comment #1
quicksketchI 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.
Comment #2
quicksketchSee also #779148: Full URL in Imagefield path causes SSL page / https warning message, which has been moved to the core issue queue.
Comment #3
vorbian commentedIf you are setting the $base_url in settings.php, try commentingit out, if your site/server configuration does not need it set.