CMS MADE SIMPLE FORGE

AdvancedContent

 

[#5073] Filepicker zeigt keine Bilder in der Vorschau / Images not shown in filepicker preview

avatar
Created By: Andi Petzoldt (andiministrator)
Date Submitted: Tue Jun 15 12:08:54 -0400 2010

Assigned To: Georg Busch (nan)
Version: SVN
CMSMS Version: None
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Filepicker zeigt keine Bilder in der Vorschau / Images not shown in filepicker preview
Detailed Description:
Beim Content type='image' und mode='filepicker' werden bei mir keine Bilder zum
Auswählen angezeigt.

Wenn man über die eingebaute Funktion Bilder hochlädt (oder auch einfach nur auf
Upload klickt, ohne ein Bild auszuwählen), werden alle Bilder korrekt angezeigt.

Mein Aufruf sieht folgendermaßen aus:
{content page_tab='Header Bilder' block='images' type='image' mode='filepicker'
smarty=true upload=true dir='Header/:::page_alias:::' filter='exclude:thumb_'
label='Bildervorschau'}

Ich verwende CMSms 1.7.1 und Pretty URLs.

---

no files displayed when using content block of type image with mode="filepicker"
and just open filepicker.
after uploading a file images are shown.


History

Comments
avatar
Date: 2010-06-15 21:32
Posted By: Georg Busch (nan)

This is caused by incompatibility between the filepicker and the core function
to create file dropdowns due to the way the allowed file extensions are handled.
If type = image the filextensions are by default set to "gif, jpg, png ..."
excluding the dot since this is the way the allowed file extensions needs to be
passed to the create file dropdown function.
But the filepicker is checking for file extensions including the dot. 
So there was just a tiny mismatch.

This should be fixed in SVN revision 141.

Please provide any feedback.

      
avatar
Date: 2010-06-16 07:00
Posted By: Andi Petzoldt (andiministrator)

Thanks, it works fine now.
      
Updates

Updated: 2010-06-16 07:00
resolution_id: 10 => 7
state: Open => Closed

Updated: 2010-06-15 21:32
description: Beim Content type='image' und mode='filepicker' werden bei mir keine Bilder zum Auswählen angezeigt. Wenn man über die eingebaute Funktion Bilder hochlädt (oder auch einfach nur auf Upload klickt, ohne ein Bild auszuwählen), werden alle Bilder korr => Beim Content type='image' und mode='filepicker' werden bei mir keine Bilder zum Auswählen angezeigt. Wenn man über die eingebaute Funktion Bilder hochlädt (oder auch einfach nur auf Upload klickt, ohne ein Bild auszuwählen), werden alle Bilder korr
summary: Filepicker zeigt keine Bilder in der Vorschau => Filepicker zeigt keine Bilder in der Vorschau / Images not shown in filepicker preview
resolution_id: => 10