[Flow] Image upload and displaying the uploaded image
Kay Strobach
typo3 at kay-strobach.de
Tue Dec 3 20:18:40 CET 2013
Hi Cornel,
if you work with Windows there might by issues ;)
On Unix there should be a symlink to the original file.
Perhaps the plattform is the problem?
For the next version it's planned to fix this by copying the file ;)
Regards
Kay
Am 03.12.13 15:08, schrieb Cornel Widmer:
> I've done a image upload for a news message in my flow application. As I
> can check, the file is uploaded and persisted as it should. The table
> typo3_flow_resource_resource has some entries and there exists a file in
> the folder "Data\Persistent\Resources" where the sha1 key matches and
> with the right file size.
>
> Now I wanted to display this image on the webpage and use the
> "f:uri.resource"-Viewhelper. When the page loads, a new file is beeing
> generated in the folder "Web\_Resources\Persistent" with the sha1 key as
> filename and the right file extension (jpg). But the filesize is zero
> bytes.
>
> In the source code of the page, the image is linked with the filename:
> "_Resources/Persistent/df7be9dc4f467187783aca68c7ce98e4df2172d0/Penguins.jpg".
> As I read in the documentation this path will be rewritten to the right
> filename.
>
> At this point no image is displayed on the webpage. What is going wrong?
>
> Are there some mod-rewrite settings to be done (.htaccess is active ->
> url-rewriting is working)
> Thanks for an hint (warmly desired) or solution (highly appreciated).
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answer was useful - feel free to donate:
-
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
- https://flattr.com/profile/kaystrobach
More information about the Flow
mailing list