Pictures and thumbnails
Where pictures are stored
The main picture of a project and the step pictures are uploaded from the project form. JoomDIY saves them in the folder images/joomdiy/items of your site. It adds the upload time to the file name, so two files with the same name do not overwrite each other.
Allowed file types: GIF, PNG and JPEG (.gif, .png, .jpg, .jpeg). JoomDIY sets no size limit of its own: the limits of your PHP setup apply (upload_max_filesize and post_max_size). The administrator form shows the maximum upload size under the Picture field.
Pictures are not resized when they are uploaded. Resize large photos before you upload them, for example to 1600 pixels wide, so pages load fast.
Thumbnails
The cards in the lists show a thumbnail of the main picture. JoomDIY makes it the first time the card is shown: it cuts the picture to Blog Thumbnail Width x Blog Thumbnail Height (620 x 510 pixels by default) and saves it next to the picture with cropped- before the file name.
A thumbnail is made only once. If you change the thumbnail size later, delete the cropped- files in images/joomdiy/items with Content > Media or by FTP. JoomDIY then makes new ones at the new size.
Default pictures
| Option | Used for | Default |
|---|---|---|
| Default picture | Projects without a main picture | media/com_joomdiy/images/not-available.png |
| Default Avatar | User avatars when Avatar manager is Joomla | media/com_joomdiy/images/default-avatar.png |
In 6.0.4, leave Default picture empty. When you pick a picture there, Joomla 4 and newer save extra information with the file name, and the lists then stop with an error for every project without its own picture.
When pictures are deleted
- Replacing the main picture of a project deletes the old picture and its thumbnail.
- The delete button of a step picture deletes that file.
- Deleting a step, a project or the whole package leaves the files in
images/joomdiy/items.