Help Center

Powered by Minitek FAQ Book
Loading...

Article images not showing and layout not changing

S
SEAPLMPosted 1 year ago
Joomla! Extensions - Professional Subscription

Hi,

1) The image slider does not show the images from the created Joomla articles. I have installed the module, the slider itself, the source content additions (content and images) and the download authenticator. I have de- and re-installed several times, including manual deletion of any reference file on the server. 

2) The layout does not change no matter what option I select. It remains stuck at the default layout.

These issues did not exist before migrating to Joomla 4.

I cannot give you access to the back-end due to organisational policy/security reasons. You can view a test page with the activated widget as submitted below. (ignore the content below the widget)

Thanks!

Chris

Loading...
0
#4037

17 answers

M
MinitekPosted 1 year agoModerator

Hi Chris,

I can't check anything from a front-end link only. I can see a slider without images, but I can't figure out the reason if I don't have access.

M
MinitekPosted 1 year agoModerator

Make sure that you have selected the correct image type in the widget settings (introtext vs inline vs fulltext).

S
SEAPLMPosted 1 year ago

Hello! Unbelievable, that was the setting... (introtext vs inline vs fulltext). I am not sure how I managed to overlook it the entire time. Thank you!

Then there is still the issue about the "Layout -> Theme" not changing. I have currently selected Article Slider 1, but it seems to remain stuck at Image Slider. It begs the question which other setting I am overlooking now. I can send you more screenshots if you need.

S
SEAPLMPosted 1 year ago

Further to the display, it also does not reflect changes made under Detail Box, Hover Box and Responsive. Eg., showing only 1 item (or any other number than 3), removing or amending the length of items in the detail box (e.g. intro text), and removing items in the hover box (e.g. the icons or text).

And it seems to load a blank as the first slider item (as you can see from the previous link).

S
SEAPLMPosted 1 year ago

Hm... This is getting more mysterious. The slider widget completely disappeared from display after while. After several reloads over 30 minutes or so, the slider has reappeared with one slide/image (as intended) but showing warnings. Please have a look at the attachments whether you understand what's going on. I will keep posting updates. 

M
MinitekPosted 1 year agoModerator

I can't be sure by looking at screenshots only, but it looks like a file permissions issue. Make sure that the path [ROOT]/images is writable.

Alternatively, if you can't make the path writable, you can disable image cropping.

S
SEAPLMPosted 1 year ago

My friend, the issue is definitely the widget. 

I have reinstalled a fresh version of Joomla 4 as a local website with a new underlying MySQL database. It's as plain as it gets with no other content. The widget is not able to create (crop) images. While the main navigation slider (the big one) shows the original image, I cannot resize it. It cannot and does not create images in the assigned folder. The folders are created as intended, but no images inside.

The small navigator does not show anything at all.

Both show the same error message at the bottom. 

The image setting is to use Full Intro images. Disabling the cropping does not solve the issue. 

See the screenshot in the attachment very closely as to whether the file path is as intended. (--> C: at the end)

The issue occurred from Joomla 4.3.3 and 4.3.4. There must be some incompatibility / code error in the widget. 

:)

M
MinitekPosted 1 year agoModerator

I have performed extensive testing of the component cropping functionality in Joomla 4.3.4 and I can't replicate the problem on my end.

The error in the screenshot suggests that there are permission issues for the folder images/mslider.

Could not create folder. Path: [ROOT]\images\mslider\

Make sure that the path is writable and that the web server user has permission to create new files in the folder.

S
SEAPLMPosted 1 year ago

Thanks for the feedback. I am working on it with IT. However, if there was no permission, it wouldn't be able to create the folder paths either, would it? Other plugins are able to create images in new folder paths, too. What stands out to me is that the widget/plugin adds the drive letter at the end of the path. On the live site version as well as on a clean installation. Is that supposed to be there? IT disagrees here. 

Warning

Joomla\CMS\Filesystem\Folder::create: Could not create folder.Path: [ROOT]\images\mslider\400x300\W:

S
SEAPLMPosted 1 year ago

The Theme (different slider display) also does not change. 

M
MinitekPosted 1 year agoModerator

It might be able to create a folder but no files.

The correct permissions for the folder images/mslider should be 755 for the web server user. On a Linux server running Apache, the user would be www-data. So, the owner of the folder must be www-data and the permissions must be 755.

M
MinitekPosted 1 year agoModerator

You can also change the permissions to 775.

S
SEAPLMPosted 1 year ago

Hi, remind me where I find that. I saw these settings somewhere, but I have lost track scouring all kinds of menus by now. 

The Joomla Folder Permissions indicate that the /mslider/ folder is writeable.

I have restored the Joomla 3 version locally now to check differences and functionality. The slider then works perfectly fine. 

I noticed there were more settings for the slider than are available under J4. Please see the screenshot. Is this setting accessible in the slider files somewhere; possibly to try an overwrite of some sort?

 

M
MinitekPosted 1 year agoModerator

The old version used a different method for cropping images (PHP Thumb Library). The new version is using the integrated Joomla Image library, so these settings are not needed anymore.

I don't think there is a way to fix permissions within Joomla.

This is something you will have to do on the server. I can't figure this out without having access to the server files.

S
SEAPLMPosted 1 year ago

Please try to install a clean version of Joomla 4.3.3 / 4.3.4 with only the slider and creating three dummy articles with images to display and adjust to custom height parameters in the main slider and small images in the navigator. The image in Full Intro position. PHP 8.0 as well as 8.1.

M
MinitekPosted 1 year agoModerator

I have done that. Clean Joomla 4.3.4 installation. Everything works fine on my end.

Is your server running on Linux or Windows?

S
SEAPLMPosted 1 year ago

Morning from Thailand. It's running on Windows and Nginx, if that helps.

But my localhost version (windows, apache) doesn't work either. 

I tried Joomla 4.3.1 locally, too.