CMFPhoto and Plone2.1
What's the deal here?
As previously mentioned, the only real hiccup I had when migrating
this site from Plone 2.0.5 to 2.1 was dealing with CMFPhoto. Since I
couldn't find any information regarding this issue (and was too lazy to
ask the respective authors...) I simply did what I always do in such
cases: make guesses and apply the good ol' scientific approach known as
Trial & Error...
So, what I've learned is this:
- CMFPhoto is broken under 2.1 in such a way, that you can still
access the actual images (by entering the complete URL, or via WebDAV)
but photos linked to using the <img src="..."/> won't show up and
accessing scaled versions using the /variant/xxx scheme are also broken.
- The default Image type in 2.1 (ATImage from the ATCT Product,
actually - three cheers for ATCT, everybody! Thank you...) is capable
of scaling but uses a different naming convention. Digging in the
source revealed the following sizes:
sizes= {'large' : (768, 768),
'preview' : (400, 400),
'mini' : (200, 200),
'thumb' : (128, 128),
'tile' : (64, 64),
'icon' : (32, 32),
'listing' : (16, 16),
}, - To access these sizes, append
/image_XXXto the URL, whereXXXis one of the above sizes.
- To migrate existing Albums and Photos you can download a folder via WebDAV, delete the Album on the server and re-upload the album (which is now a folder). You'll still have to adjust any old-style references to scaled versions, but hey... it's a start....
- Choosing 'photoalbum view' in the new 'display' menu when inside a folder containing images will result in the good ol' PhotoAlbum view from the CMFPhotoAlbum product.

CMFPhoto 0.5.0
CMFPhot/Plone21 CMFPhoto 0.5.0 Product Description This Product is broken
2005-09-09 18:19:20 failed: Traceback (most recent call last):
File "/usr/local/Zope-2.8.1-final/instances/hpc/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 311, in installProduct res=install(portal)
File "/usr/local/Zope-2.8.1-final/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__ try: return f(args, *kw)
File "/usr/local/Zope-2.8.1-final/instances/hpc/Products/CMFPhoto/Extensions/Install.py", line 43, in install nav=portal_prop.navigation_properties
AttributeError: navigation_properties