ProsePoint Express: hosted newspaper website content management software

Teaser images on edition page

11 replies [Last post]
shrthnd
User offline. Last seen 1 year 41 weeks ago. Offline
Joined: 15/12/2009
Posts:

I'm not sure if this is intentional or not but when I try to view the permalink of an edition the teaser images are not displayed. This is also the case when logged in and editing, when trying to "preview" your work. How can I have the system display teaser images when viewing archived/permalinked editions as well as "previewed" editions?

On the homepage, the current edition displays all teaser images no problem.

Thanks in advance for any help.

- Joe

beng
User offline. Last seen 1 week 3 days ago. Offline
Joined: 27/02/2009
Posts:
...

Hi,

This actually sounds like a permissions or logged-in/non-logged-in issue, so can you please check whether the behaviour is affected by whether you're logged in or not?

And then, can you please clarify by what you mean by permalink? An actual url would be helpful too, if you don't mind posting it up.

I don't quite understand your description of your issue very clearly.

shrthnd
User offline. Last seen 1 year 41 weeks ago. Offline
Joined: 15/12/2009
Posts:
...

Beng,

Thank you for the reply. Here is a bit more about my issue:

The homepage of my drupal/prosepoint installation is set to display the most recent edition of those within "Current Editions" channel. On the homepage nodes and their corresponding teaser images display fine, and any changes made in regards to a nodes teaser image (such as changing the size by adjusting teaser size from within the node itself, or within the composite layout "zones" page) also take affect without a problem.

However, when viewing an edition at a url such as "…/edition/current-edition/56", no teaser images are visible.

Now let's say I am logged in with proper permissions and am on the "Zones" page, editing the layout of an edition. Upon clicking "Save zones and view"  I am again taken to "…/edition/current-edition/56", where images are not visible. If I click "Preview" from the "Zones" page the page is reloaded (in this case @ node/56/composite_zones) with my edition content now displayed above the composite layout organizer with it's teaser images also not visible.

Obviously I am not so concerned about missing teaser images when I click "Preview" but we definitely need images displayed on pages such as "…/edition/current-edition/56".

 

beng
User offline. Last seen 1 week 3 days ago. Offline
Joined: 27/02/2009
Posts:
...

Hi,

Some more things to ask:

If you are logged in and view your home page, do the images appear correctly?

If you are not logged in and view your home page, do the images appear correctly?

If you are logged in and view .../edition/current-edition/56, do the images appear correctly?

If you are not logged in and view .../edition/current-edition/56, do the images appear correctly?

And then, after testing those four cases ...

For those cases when the images do not appear correctly, can you look inside the html page source and see whether there are any <img> tags. Maybe the image urls are incorrect and/or your web server is interfering with them somehow.

shrthnd
User offline. Last seen 1 year 41 weeks ago. Offline
Joined: 15/12/2009
Posts:
All this head scratching and
All this head scratching and it turns out the teaser images were inheriting "display: hidden" from the stylesheet. Wouldn't have become obvious if it wasn't for your help, Beng, so thank you again.
shrthnd
User offline. Last seen 1 year 41 weeks ago. Offline
Joined: 15/12/2009
Posts:
on another note: i would like

on another note: i would like to adjust the size (width) of teaser images that are generated by the system. i searched the forums but nothing turned up. i need to do this so that, using composite layouts, a "small" teaser image is the width of one column, "medium" two and "large" three columns. so if each column was 200px wide a small teaser would be 200px wide, a medium 400px and a large 600px.

I looked around in the Prosepoint profile folder, specifically the modules folder, and thought these variables might be set in the imageAPI module but a solution isn't obvious to me...

Thank you,
Joe

beng
User offline. Last seen 1 week 3 days ago. Offline
Joined: 27/02/2009
Posts:
The teaser images uses the

The teaser images uses the preset sizes defined by the imagecache module.

The UI to configure this isn't enabled by default. You need to visit .../admin/build/modules and enable the module ImageCache UI.

Then visit .../admin/build/imagecache and dig around there. You can change existing preset definitions or add new ones as you wish.

You may also be interested in the page .../admin/settings/teaser_image which has related configuration.

Thank you.

shrthnd
User offline. Last seen 1 year 41 weeks ago. Offline
Joined: 15/12/2009
Posts:
Thanks again, Beng. I

Thanks again, Beng. I encountered a slight permissions problem but after working through that I was able to flush and rebuild my teaser images. I really appreciate your help and I was hoping I might ask you one more question.

In regards to composite layout, is their a way to add custom formatter options like the ones used to select teaser image size? I would like to be able to exclude post titles, the published date, etc, from within the composite layout/zones panel. If this is not immediately possible perhaps you could give me some suggestions as to how you would accomplish this?

Thank you,
Joe

beng
User offline. Last seen 1 week 3 days ago. Offline
Joined: 27/02/2009
Posts:
...

Hi,

This is something I've been thinking of doing, but hadn't got around to seriously planning for it yet. (I've also had people mention they'd like to have the teaser length change depending on whether content is displayed within Composite Layout or not.)

The proper way to do this would be to add extra drop downs, with way to make sure the number of possible options won't increase exponentially. Unfortunately, nope, this feature doesn't yet exist.

In the meantime, you can cheat a bit by subthemeing the default theme and providing css overrides to hide the desired elements through a 'display: none' style. (See Making your own customisations to the default theme for some more information.)

Hopefully this is satisfactory for now :)

shrthnd
User offline. Last seen 1 year 41 weeks ago. Offline
Joined: 15/12/2009
Posts:
...
Unfortunately we're way past the point of subtheming. This seems to be what I'm looking to do, but as to integrating that in to Composite Layout, I am none too sure...
beng
User offline. Last seen 1 week 3 days ago. Offline
Joined: 27/02/2009
Posts:
I meant that you can use css

I meant that you can use css to selectively hide html elements, including selecting only those that appear within the html generated by Composite Layout.