No uploaded images displayed
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
No uploaded images displayed
Hi @ all.
I am rephrasing the problem since the first description was wrong.
When selecting a product picture in the BE and press the upload button, then everything looks fine.
Info : Item saved successfully.
The upload is fine and the file is with in e.g.: uploads/tx_aimeos/1.d/preview/3/4/
But my Aimeos install doesn't show the pictures. Neither in the BE nor in the FE.
In the BE, the field just shows the image name.
When touching the image name with the mouse, it says: "keine Datei hochgeladen".
In the FE I realized that the picture path is instead of this
localhost/MY_LOCAL_MACHINE/uploads/tx_aimeos/1.d/preview/3/4/3475f3aviaid_remote.webp?v=20231106105604
this:
localhost/uploads/tx_aimeos/1.d/preview/3/4/3475f3aviaid_remote.webp?v=20231106105604
Which settings do I need to add/change, so Aimeos knows, that it is within /MY_LOCAL_MACHINE/
Thanks.
FYI: The TYPO3 install itself works just fine.
PHP 8.2.7 on Debian stable
TYPO3 12.4.7
Aimeos 23.10.1
I installed pages: 2023.04.t3d
Nachschlag:
Another problem, probably related to the same setting.
Aimeos BE - Settings - Basic
- Upload shop logo
- Upload shop item
Upload looks fine;
"Info: Item saved successfully."
Picture and Icon are stored.
But then "no picture in the BE fields" nor in the front end.
And when touching the field in the BE with the mouse, it says: "keine Datei ausgewählt".
But the files were saved here: /var/www/html/t1/uploads/tx_aimeos/1.d/
I am rephrasing the problem since the first description was wrong.
When selecting a product picture in the BE and press the upload button, then everything looks fine.
Info : Item saved successfully.
The upload is fine and the file is with in e.g.: uploads/tx_aimeos/1.d/preview/3/4/
But my Aimeos install doesn't show the pictures. Neither in the BE nor in the FE.
In the BE, the field just shows the image name.
When touching the image name with the mouse, it says: "keine Datei hochgeladen".
In the FE I realized that the picture path is instead of this
localhost/MY_LOCAL_MACHINE/uploads/tx_aimeos/1.d/preview/3/4/3475f3aviaid_remote.webp?v=20231106105604
this:
localhost/uploads/tx_aimeos/1.d/preview/3/4/3475f3aviaid_remote.webp?v=20231106105604
Which settings do I need to add/change, so Aimeos knows, that it is within /MY_LOCAL_MACHINE/
Thanks.
FYI: The TYPO3 install itself works just fine.
PHP 8.2.7 on Debian stable
TYPO3 12.4.7
Aimeos 23.10.1
I installed pages: 2023.04.t3d
Nachschlag:
Another problem, probably related to the same setting.
Aimeos BE - Settings - Basic
- Upload shop logo
- Upload shop item
Upload looks fine;
"Info: Item saved successfully."
Picture and Icon are stored.
But then "no picture in the BE fields" nor in the front end.
And when touching the field in the BE with the mouse, it says: "keine Datei ausgewählt".
But the files were saved here: /var/www/html/t1/uploads/tx_aimeos/1.d/
Re: No uploaded images displayed
New, clean install:
Debian Stable
PHP 8.2.7
TYPO3 12.4.7
This time aimeos_dist 23.7.1
Same issue as described above.
Aimeos saves the images within /var/www/html/aimeos_testing/uploads/tx_aimeos/1.d/
But these images are neither displayed in the Backend nor in the Frontend.
Instead of this path:
localhost/aimeos_testing/uploads/tx_aimeos/1.d/preview/3/4/3475f3aviaid_remote.webp?v=20231106105604
the install wants to grap the images here:
localhost/uploads/tx_aimeos/1.d/preview/3/4/3475f3aviaid_remote.webp?v=20231106105604
Site Config file was created and entry point is /aimeos_testing/
Config.yaml looks good to me.
What else am I missing?
What did I forget during install/config process?
Thanks.
Debian Stable
PHP 8.2.7
TYPO3 12.4.7
This time aimeos_dist 23.7.1
Same issue as described above.
Aimeos saves the images within /var/www/html/aimeos_testing/uploads/tx_aimeos/1.d/
But these images are neither displayed in the Backend nor in the Frontend.
Instead of this path:
localhost/aimeos_testing/uploads/tx_aimeos/1.d/preview/3/4/3475f3aviaid_remote.webp?v=20231106105604
the install wants to grap the images here:
localhost/uploads/tx_aimeos/1.d/preview/3/4/3475f3aviaid_remote.webp?v=20231106105604
Site Config file was created and entry point is /aimeos_testing/
Config.yaml looks good to me.
What else am I missing?
What did I forget during install/config process?
Thanks.
Re: No uploaded images displayed
TYPO3 installations in sub-folders are not supported well and the TYPO3 method doesn't seem to return the sub-folder here:
https://github.com/aimeos/aimeos-typo3/ ... rce.php#L3
As a workaround, you could overwrite the resource/fs* settings from that file in your own Aimeos extension:
https://github.com/aimeos/aimeos-typo3/ ... hp#L40-L51
https://github.com/aimeos/aimeos-typo3/ ... rce.php#L3
As a workaround, you could overwrite the resource/fs* settings from that file in your own Aimeos extension:
https://github.com/aimeos/aimeos-typo3/ ... hp#L40-L51
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: No uploaded images displayed
Did you receive already any praises today? If not - then here the first one:
"You are my hero!"
Thanks!
This:
Now it looks like:
and the install works fine.
Pictures/Images are stored where they belong. FE and BE display them.
Am I really the first one with such an setup issue?
"You are my hero!"
Thanks!
This:
did the trick.aimeos wrote: ↑10 Nov 2023, 07:46 As a workaround, you could overwrite the resource/fs* settings from that file in your own Aimeos extension:
https://github.com/aimeos/aimeos-typo3/ ... hp#L40-L51
Now it looks like:
Code: Select all
'fs' => [
'adapter' => 'Standard',
'baseurl' => '/t3/uploads/tx_aimeos',
'basedir' => $publicPath . '/uploads/tx_aimeos',
'tempdir' => $publicPath . '/typo3temp',
],
'fs-media' => [
'adapter' => 'Standard',
'baseurl' => '/t3/uploads/tx_aimeos',
'basedir' => $publicPath . '/uploads/tx_aimeos',
'tempdir' => $publicPath . '/typo3temp',
],
'fs-mimeicon' => [
'adapter' => 'Standard',
'baseurl' => $assetPath . '/t3/Images/Mimeicons',
'basedir' => $publicPath . $assetPath . '/Images/Mimeicons',
'tempdir' => $publicPath . '/typo3temp',
Pictures/Images are stored where they belong. FE and BE display them.
Am I really the first one with such an setup issue?
Re: No uploaded images displayed
Like said, TYPO3 isn't meant to be installed in a sub-folder, so nobody does because it may lead to other problems too.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star