Images suddenly disappeared in Open Publish version 2.0

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by punjabi on August 18, 2010 at 5:42pm

I'm running Open Publish version 2.0 and everything was working Okay until last week.

Now suddenly all the story Images and profile picture images on the website have disappeared. I have checked the permissions on files folder to be correct. The images are present in the files folder, just not showing up in the linked stories. I tried uploading new images, flushing image cache, clearing cache - nothing works.

The Website logo and favicon are being served from same directly and showing correctly, its just the images in any CCK type that are not showing up. Any leads on where the problem can be?

Comments

What is your input format set to?

Posted by dazzler on August 18, 2010 at 6:08pm

Hi Punjabi,

Is your input format set to filtered HTML or full HTML. If you're set to filtered, the images won't show. That's what this sounds like to me. So, go into an Article or other content type, and below your body field, open the fieldgroup 'Input Format'. Again, if you are on 'Filtered HTML', you will not see images for content types. Select 'Full HTML', and save. My guess is this should take care of your issue. Good luck.

Input format set to full HTML

Posted by punjabi on August 18, 2010 at 8:35pm

Thank you Dazzler.

I have double checked, and the input format is set to full HTML.

I checked the html being generated by the div where image should be, it shows following:(&nbsp insead of picture). I also double checked going into edit and attaching new pictures, its the same output that shows up without any images.

<!-- /.section-date-author -->
<div class="body-content">
<p>
&nbsp;
</p>
<p>
Some picture tagline shows here.
</p>
</div>
<!-- /.body-content -->

Thanks, this fixed my problem.

Posted by samdiener on January 19, 2011 at 7:28pm

As I wrote in the comment here, http://groups.drupal.org/node/108619#comment-389424, your fix worked for me.

Editor, Peacework
Global Thought and Local Action for Nonviolent Social Change
www.peaceworkmagazine.org (but testing a new OpenPublish-based platform at www.new.peaceworkmagazine.org)

Just an update: Updated

Posted by punjabi on August 20, 2010 at 9:28pm

The problem was with CCK. Some in the editorial staff removed the main image fields deleting all linked images along with it.

Update
The CCK was not deleted, but deactivated for some reason. Disabled and enabled filefield and imagefield and everything is back in place. Weird! But thats what happens when we rely on software beyond our complete grasp:|

Additional help

Posted by gregaz on September 30, 2010 at 2:11pm

Hey guys,
I'm a real n00b in OP, I mean I have worked with loads of CMS systems, but newer with Drupal.
I have installed latest version of OP. The installation went through without any problems. But bow I have exact same problem as punjabi. If I look at the code there is " " where it should be a picture. And I can't figure out where and how to disabled and enabled filefield and imagefield, as punjabi mentioned in previous post.
Can someone please help me.

gregaz

Posted by punjabi on September 30, 2010 at 2:30pm

Go to Administer > Modules > then disable and enable the above mention modules.

If you are going to implement a system with drupal you need to know a little about it. Start with Using Drupal by Angela Byron and go from there.

Hope it helps.

filefield & imagefield

Posted by gregaz on October 1, 2010 at 7:22am

Dear punjabi,
Thanks for your reply. I know that filefield and imagefield modules are in admin>modules section, but the problem is that the check boxes are gray and I can't disable those two modules. I also tried to disable all "related" modules first, but filefield and imagefield check boxes stays gray. I really don't know what to do now.
PS: Thanks for the book hint - I will definitely read this.

Grey Boxes

Posted by punjabi on October 1, 2010 at 2:29pm

Boxes are greyed if there are other modules dependent on them(the list if listen right underneath the modules).

Disable all the modules that are depending on those two modules first. Make note of the modules you disable(for enabling them back in the same order). After all the modules that it is depending on are disabled, the grey boxes would become active. Then disable and enable the two modules and the rest later. It should solve your problem.

No luck

Posted by gregaz on October 4, 2010 at 8:17am

I did everything as you described but still no images in articles. But, there is a change in front page code! Before I disabled and enabled filefield and imagefield I got &nbsp instead of image link, now there actually is a link to image (in my case: http://mydomain.com/sites/default/files/imagecache/spotlight_homepage/pi...). I checked if there is "spotlight_homepage" folder on my server, but no, there is no such folder. So I created this folder and put "picture.jpg" in the folder, but still - no luck.
Please help.

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /