I'm having trouble getting the images to display.

I followed the instructions at http://ddblock.myalbums.biz/node/972. I've also looked through the issue queues and checked my settings. But I can't figure out why just the images won't display.

My url is http://beta.diosav.org/ and template.php is attached.

CommentFileSizeAuthor
#11 theme structure.JPG65.78 KBMinna
template.txt10.73 KBMinna

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

can you enable the debug lines in the views style settings page for the slideshow and attach the result here.

Minna’s picture

Thanks for quick response.

Debug lines:

* The view news_items has been saved.
*

Pager Settings => array (
'delta' => 1,
'debug_info' => 'drupal',
'output_type' => 'view_fields',
'pager' => 'custom-pager',
'pager_container' => '.custom-pager-item',
'pager_event' => 'click',
'pager_position' => 'bottom',
'pager2' => 0,
'pager2_position' =>
array (
'slide' => 'slide',
'pager' => 0,
),
'pager2_pager_prev' => 'prev',
'pager2_pager_next' => 'next',
'pager2_slide_prev' => '',
'pager2_slide_next' => '',
'slide_text' => 1,
'slide_text_info_button' => NULL,
'template' => 'vsd-upright40',
'custom_template' => '',
'view_name' => 'news_items',
'view_display_id' => 'block_1',
)

*

View - name => 'news_items'

*

View - display_Id => 'block_1'

*

Number of slides => 3

*

Imgcache_slide => NULL

*

Content first slide => stdClass::__set_state(array(
'nid' => '2050',
'node_title' => 'Catholics Come Home',
'node_data_field_pager_item_text_field_pager_item_text_value' => 'First Story',
'node_type' => 'ddblock_news_item',
'node_vid' => '2194',
'node_data_field_pager_item_text_field_slide_text_value' => 'Story teaser goes here. Story teaser goes here. Story teaser goes here.',
'node_data_field_pager_item_text_field_image_fid' => '1799',
'node_data_field_pager_item_text_field_image_list' => '1',
'node_data_field_pager_item_text_field_image_data' => 'a:2:{s:3:"alt";s:0:"";s:5:"title";s:0:"";}',
'node_revisions_body' => 'Full story text.',
'node_revisions_format' => '3',
'node_created' => '1280204521',
))

ppblaauw’s picture

Your template.php seems to be ok.

Do you have the content permissions module enabled (submodule of CCK)?
Can you have a look at the permissions page if permissions are given for the image_field?

Minna’s picture

Content Permissions module is enabled.

admin and anonymous user have permissions for view field_image, view field_pager_item_text , and view field_slide_text.
admin has permissions to edit the above.

Minna’s picture

Minna’s picture

I noticed in the source code <img src.....> is never called. Does that mean anything?

here is a snippet:

<div class="slide-inner clear-block border">
                   <div class="slide-text slide-text-vertical slide-text-left clear-block border" style="">
           <div class="slide-text-inner clear-block border">
                       <div class="slide-title slide-title-vertical clear-block border">
             <div class="slide-title-inner clear-block border">
              <h2>Catholics Come Home</h2>
             </div> <!-- slide-title-inner-->
            </div>  <!-- slide-title-->
            <div class="slide-body-vertical clear-block border">
             <div class="slide-body-inner clear-block border">
              <p></p><p>Story teaser goes here. Story teaser goes here. Story teaser goes here.</p>

             </div> <!-- slide-body-inner-->
            </div>  <!-- slide-body-->
             
           <div class="slide-read-more slide-read-more-vertical clear-block border">
            <p><a href="/node/2050">Read more</a></p>
	         </div><!-- slide-read-more-->
          </div> <!-- slide-text-inner-->
         </div>  <!-- slide-text-->
        </div> <!-- slide-inner-->
ppblaauw’s picture

Can you clear the cache at administer > site configuration > performance

Minna’s picture

I cleared the Cache data again.

ppblaauw’s picture

How is the slideshow theme structure?

Can you have a look at the issue http://drupal.org/node/863886
It is for the ddblock module but maybe you have the same issue for the views_slideshow_ddblock module.

Minna’s picture

Theme structure

in sites/all/themes/newtheme_diosav_org/

custom/
-modules/
--views_slideshow_ddblock/
---views_slideshow_ddblock-cycle-block-content-[slideshow-theme-name].tpl.php
---views_slideshow_ddblock-cycle-pager-content-[slideshow-theme-name].tpl.php
---images/
---[slideshow-theme_name]/
----views_slideshow_ddblock-cycle-[slideshow-theme-name].css

When I add <img src="..."> (using firebug) the image displays in that slide.

<div class="slide-inner clear-block border">
  <img src="http://beta.diosav.org/sites/all/files/pope_rabbi_0.jpg?1280281385">
                   <div style="" class="slide-text slide-text-vertical slide-text-left clear-block border">
Minna’s picture

StatusFileSize
new65.78 KB

sorry, I have an image (attached) of the theme structure in sites/all/themes/newtheme_diosav_org/custom/modules/views_slideshow_ddblock

ppblaauw’s picture

Running out of suggestions.
Can you try the other upright themes?

Minna’s picture

I've tried upright 10 and upright 50. No luck.

I can try 6.x-2.x-dev. What do I uninstall / remove from 6.x-1.1?

ppblaauw’s picture

ok,

Delete the module.
Delete the custom folder with the slideshow themes from the overall template folder.
Delete the preprocess functions from version 1.1 in the template.php file.

Install module version 2.x.
Enable the views_slideshow_ddblock module and the example module.
Install the slideshow themes for version 6.x-2.x-dev.
Clear the cache when everything is installed.
Place one of the example blocks in a region.

This version should be a lot easier to setup.
Have a look at the readme.txt for installation steps.

Hope this helps you further.

Minna’s picture

I think I figured out what caused the images to not display. I already had enabled 'CCK - Image Field' as I had tried another slideshow.

While installing 6.x-2.x-dev, I disabled the 'Image Field' and enabled it in the order listed in the instructions. Everything worked perfectly.

Now I just need to get the theme for a landscape style.

Thanks for your help. This is an excellent module.

Minna

Minna’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.