[Zope] Photo Product: Can't convert images.
Mark Simpson
zdp@bowfort.com
Sat, 26 Jan 2002 09:15:17 -0700
Thanks Ron.
Worked a treat!
Thanks for a wonderful product. Finally I've found a photo product that =
is=20
configurable and does just what I want. I.E. Store one image (and the=20
additional images are created automatically).
Regards
Mark Simpson
On January 25, 2002 11:34 pm, you wrote:
> You're not doing anything wrong. =A0As someone else has pointed out, I =
broke
> this capability in version 1.2.3 while trying to add some other feature.
>
> This is completely untested, but try replacing line 654 with the follow=
ing
> and let me know if it works:
>
> =A0 try:
> =A0 =A0 =A0 photo._data =3D file.read()
> =A0 except AttributeError:
> =A0 =A0 =A0 photo._data =3D file