Implemented Modul - the image file does not exist.

Lees meer
1 jaar 8 maanden geleden #2642 door Michael Heil
Modul - the image file does not exist. werd gestart door Michael Heil
Module:
Error message in frontend: "The image file does not exist." The images are displayed in the backend. See Screenhot.
- Joomla 4.4.0
- Modul-Version vom 26.10.23
- plugin is active
Discussie gesloten.
Lees meer
1 jaar 8 maanden geleden #2643 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Modul - the image file does not exist.
Hi Michael,
thanks for reaching out.
Let's see if we can get this fixed.

How are you adding the module to the page / article?
Discussie gesloten.
Lees meer
1 jaar 8 maanden geleden #2645 door Michael Heil
Beantwoord door Michael Heil in topic Modul - the image file does not exist.
I use a module of the type ochGlightbox
Discussie gesloten.
Lees meer
1 jaar 8 maanden geleden #2646 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Modul - the image file does not exist.
Ok, and you have that displayed on a module position and not via {module... into the content, right?

ochGlightBox writes error information into a logfile (in your site log directory), what information does that have?

You can install ochLogFiles to show the logfiles (if you have not already), you can download it from my site: it is free for customers
Discussie gesloten.
Lees meer
1 jaar 8 maanden geleden #2648 door Michael Heil
Beantwoord door Michael Heil in topic Modul - the image file does not exist.
Yes, I use a module-position.

According to the error it looks in the path [ROOT]/images/443_module_.
This was new to me until now. There is still the folder _preview. 

But the images are in the folder
[root]/images/accantec/performance_portfolio_graphics

I have also set this as the default path. 


The Logs:

#
#<?php die('Forbidden.'); ?>
#Date: 2023-10-25 12:38:03 UTC
#Software: Joomla! 4.4.0 Stable [ Pamoja ] 17-October-2023 16:00 GMT

plg_system_ochglightbox-log.php (only from my timestamp)
#Fields: datetime    priority clientip    category    message
2023-10-27T11:19:21+00:00    INFO 2003:e0:3f4a:1500:e481:19ee:95c7:9370    ochglightbox    4 images found in: [ROOT]/images/443_module_
2023-10-27T11:19:21+00:00    ERROR 2003:e0:3f4a:1500:e481:19ee:95c7:9370    ochglightbox    The image file does not exist.

everything.php (only from my timestamp)
...
2023-10-27T11:19:21+00:00    INFO 2003:e0:3f4a:1500:e481:19ee:95c7:9370    ochglightbox    4 images found in: [ROOT]/images/443_module_
2023-10-27T11:19:21+00:00    ERROR 2003:e0:3f4a:1500:e481:19ee:95c7:9370    ochglightbox    The image file does not exist.
 
Discussie gesloten.
Lees meer
1 jaar 8 maanden geleden #2649 door Michael Heil
Beantwoord door Michael Heil in topic Modul - the image file does not exist.
Update: Although files were now in the expected path, they were not displayed. First I had the format in view. Since in the explanatory video also jpg is shown as format, it was not.
It was with us at the blanks in the file name. Instead of spaces I now use hyphen. And it works. The images are now displayed in the frontend.  
Discussie gesloten.
Lees meer
1 jaar 8 maanden geleden #2650 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Modul - the image file does not exist.
Hi,
so in the plugin you can best configure the base directory as a sub folder of images, when installed it creates ochglightbox directory for this in images. That directory is used to create the thumbnails used by the gallery, for a gallery created by a module the directory for that module's thumbnails will be [module id]_module_\_preview in the configured base directory. Using a base directory keeps the images directory 'organized' / clean. You can just remove the [module id]_module_\ directory, it will be recreated.

the [module id]_module_ directory itself doesn't have any images, as the images are provided by the module: these can come from any directory, you just select them in the module.

You say you configured the default path, did you do that in the plugin (the base directory)? If so then that is probably where the error is as that directory is not correct? If it was correct the 443_module_ directory would be created in that configured base directory and not in the root of the images directory.

So if you can configure the plugin > tab [Tag (gallery) Configuration] > Base Directory = images/ochglightbox (default)

Also, the screen capture you made is to small for me to see any details so not sure what the path name is in the module for the image etc.
Can you provide me with a better image?
Discussie gesloten.
Lees meer
1 jaar 8 maanden geleden #2651 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Modul - the image file does not exist.
Hi, good to hear! so our posts crossed :)

Never a good idea to have spaces in the filename as that needs to be converted when sharing (space = %20) and is always cause of issues.

I will see if I can add something in the documentation for that.

Thanks for reporting back Michael!

regards,
Ruud
Discussie gesloten.
Lees meer
1 jaar 8 maanden geleden #2664 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Modul - the image file does not exist.
FYI Michael,
I have 'fixed' this is the next version (2.1.2) of the plugin: the module can now also use images with spaces in the filename.
Discussie gesloten.