uploaded images disappear?
Hi Will, This is because the "filtered html" input format doesn't allow <img> tags be default. As admin go to Input Formats: admin/settings/filters Click the "configure" next to "Filtered HTML", then click the "configure" tab. Midway down the page under the "HTML filter" section of the form, add the <img> tag to the field "Allowed HTML tags". Save the configuration. You should now be able to see images in your postings. Hope this helps. -- Tracy http://hellolinux.org -------------- Original message ----------------------
Today's Topics:
1. uploaded images disappear? (will hall)
----------------------------------------------------------------------
Message: 1 Date: Sun, 12 Aug 2007 11:00:09 -0400 From: will hall <will@theicarusproject.net> Subject: [support] uploaded images disappear? To: support@drupal.org Message-ID: <46BF2079.3000309@theicarusproject.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
so i can create an image node fine, but then when i view it there is no image there? anyone come across this problem before? 5.1
thanks -- will
------------------------------
-- [ Drupal support list | http://list.drupal.org/ ]
End of support Digest, Vol 56, Issue 20 ***************************************
Another potential culprit for this is permissions. We had a site that would allow image uploads and viewing of those images in development. When the site was moved to production we could still upload the images but not view them. The apache user wasn't in the correct group that owned the directory. chmod 777 while maybe not the correct approach resolved the problem. On 8/13/07, webdevgirl@comcast.net <webdevgirl@comcast.net> wrote:
Hi Will,
This is because the "filtered html" input format doesn't allow <img> tags be default.
As admin go to Input Formats:
admin/settings/filters
Click the "configure" next to "Filtered HTML", then click the "configure" tab.
Midway down the page under the "HTML filter" section of the form, add the <img> tag to the field "Allowed HTML tags".
Save the configuration. You should now be able to see images in your postings.
Hope this helps.
-- Tracy http://hellolinux.org
-------------- Original message ----------------------
Today's Topics:
1. uploaded images disappear? (will hall)
----------------------------------------------------------------------
Message: 1 Date: Sun, 12 Aug 2007 11:00:09 -0400 From: will hall <will@theicarusproject.net> Subject: [support] uploaded images disappear? To: support@drupal.org Message-ID: <46BF2079.3000309@theicarusproject.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
so i can create an image node fine, but then when i view it there is no image there? anyone come across this problem before? 5.1
thanks -- will
------------------------------
-- [ Drupal support list | http://list.drupal.org/ ]
End of support Digest, Vol 56, Issue 20 ***************************************
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Kevin Bridges http://www.kevinbridges.org/
hi all, yep, apache permissions. the great folks at mayfirst sorted this out. solution below: ______ Images should now be working. These are the steps I took: * I tried to view a page that had an image (http://freedom-center.org/testimage3). * I viewed source to see what the path to the image was (it was: http://freedom-center.org/files/images/soteria_book_cover.preview.jpg). * I tried to view that image directly and got an Apache server configuration error. That means that there will be an entry in the apache error log. * I looked in /var/log/apache2/error.log (this is only possible if you are a machine admin). * The apache error log said: [Tue Aug 14 09:49:34 2007] [alert] [client 216.27.145.117] /home/members/freedomcenter/sites/freedom-center.org/web/files/.htaccess: Option FollowSymLinks not allowed here * Ah. By default our apache configuration does not allow .htaccess files to do anything. That has to be explicitly enabled in your Control Panel. When we install Drupal, we enable this in the Control panel apache config - however, I think you installed this site before we were supporting drupal 5.1. In any event, I added the following line to your apache config (via the control panel): <Directory /home/members/freedomcenter/sites/freedom-center.org/web> AllowOverride All </Directory> And now it seems to work. ___________ Cyberswat wrote:
Another potential culprit for this is permissions. We had a site that would allow image uploads and viewing of those images in development. When the site was moved to production we could still upload the images but not view them. The apache user wasn't in the correct group that owned the directory. chmod 777 while maybe not the correct approach resolved the problem.
On 8/13/07, webdevgirl@comcast.net <webdevgirl@comcast.net> wrote:
Hi Will,
This is because the "filtered html" input format doesn't allow <img> tags be default.
As admin go to Input Formats:
admin/settings/filters
Click the "configure" next to "Filtered HTML", then click the "configure" tab.
Midway down the page under the "HTML filter" section of the form, add the <img> tag to the field "Allowed HTML tags".
Save the configuration. You should now be able to see images in your postings.
Hope this helps.
-- Tracy http://hellolinux.org
-------------- Original message ----------------------
Today's Topics:
1. uploaded images disappear? (will hall)
----------------------------------------------------------------------
Message: 1 Date: Sun, 12 Aug 2007 11:00:09 -0400 From: will hall <will@theicarusproject.net> Subject: [support] uploaded images disappear? To: support@drupal.org Message-ID: <46BF2079.3000309@theicarusproject.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
so i can create an image node fine, but then when i view it there is no image there? anyone come across this problem before? 5.1
thanks -- will
------------------------------
-- [ Drupal support list | http://list.drupal.org/ ]
End of support Digest, Vol 56, Issue 20 *************************************** -- [ Drupal support list | http://lists.drupal.org/ ]
participants (3)
-
Cyberswat -
webdevgirl@comcast.net -
will hall