Questions tagged [images]

The images tag is for questions related to the loading, formatting, saving,and display of images in the context of source code. This tag should also be used for assistance using various image libraries.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 views

Is there a way to use an SVG image in Cassiopeia

I'm using Cassiopeia and Joomla 4. I've adapted it very slightly to get to what I need but I really want to use a much smaller image size by using an SVG. Is there any way to do this? Previously you ...
1
vote
0answers
13 views

"404 Component not found" when trying to set an image for a category

I'm experiencing a really weird error in the backend of my site - Whenever I try to set an image for a category or article, the modal that pops up just shows me the Joomla dashboard. When I'm editing ...
0
votes
1answer
208 views

Resize image width in function of set image height in CSS?

I'm trying to tell an image to be displayed with a maximum height of 400 pixels, and a width adapted onto the used height, with the following CSS - Code: span.itemImage img { max-height:400px; ...
2
votes
1answer
57 views

How can I add height and width attributes to an image in a menu?

Google is complaining that there is no height and width set on the HTML properties of some images in a menu. It's worrying about cumulative layout shift. The sizing is all done in CSS, but I want to ...
1
vote
0answers
56 views

How do I force download an image inside Joomla component controller

I want to download the PNG image that my site creates. I want to be able to force download the image. I attempted an HTTP request to a PHP file outside of Joomla, but that did not work. How can I ...
4
votes
1answer
46 views

Compress & Optimise Existing Images

Joomla 3.9.21 I am working on a site that is very image heavy, most images are within the EasyBlog component and amount to approximately 8GB, the original administrators didn't optimise the images for ...
1
vote
0answers
31 views

Add an Image to K2 article pragmatically

I want to add an image to a K2 article using PHP. Is there a way to add an image when I am creating the article using PHP? Adding the title, body, and category is simple enough. All you have to do is ...
0
votes
1answer
42 views

How to write Joomla functionality that writes image data directly to the browser?

I am in the process of writing Joomla functionality that will produce JPEG-images on the fly using Imagick and GD. It is supposed to be used in Joomla articles like this: <IMG src="/index.php?...
2
votes
2answers
447 views

How to get access to image metadata from PHP?

I am in the proces of writing a Joomla extension that utilizes metadata embedded in image files in IPTC, EXIF and XMP chunks. In particular, I want to gain access to "Title", "Tags"...
1
vote
0answers
13 views

Joomla mkdir() error

I have a problem with the Virtuemart Color Swatch plugin for Joomla 3. When I add thumbnails to the product, in the admin panel, I get this error: Warning: mkdir(): No such file or directory in /var/...
1
vote
1answer
30 views

Mixed content, no http:// in html

I'm not sure when this started happening, but I noticed today in Google Chrome (and subsequently in Firefox & IE) that my Joomla 3.9.20 site is causing a "Mixed content" warning. I ...
0
votes
0answers
23 views

Whitespace characters in image filenames are not working

My Joomla version is 3.7.2 and my problem is that category images do not render when the filename contains whitespace characters. For example, an image name like: Atlas Vandal Resistant category ...
0
votes
1answer
44 views

Photo size validation

I use the Fox Contact component on my website, and through that component users send me photos (as an attachment) I had to make a few modifications in the upload form itself and make filters for file ...
0
votes
0answers
16 views

image is not displaying

I download envor template. I am using Azura page builder to add or delete an element. There is one menu named "Pages" in that there is a submenu name "about company" when I am doing it save as copy in ...
1
vote
1answer
29 views

Mod_Feed removing the strip image function what do the True & False do?

I want to remove the strip image function from mod_feed in the administrator area. mod_feed/tmpl/default.php at line 118 // Strip the images. $text = JFilterOutput::stripImages($text); $text = ...
3
votes
4answers
1k views

Ajax error when attempting component updates

I am having a couple of issues with a Joomla 3.6 site that I maintain. Issue 1 is with the Joomla update component. When the update attempts to run it gets an Ajax alert error, and the following ...
1
vote
1answer
31 views

Building a new module that loads articles not adding slashes in front of images

i am currently building a new module that loads joomla articles via ajax. During the final tests I noticed that image links are (relative links) not handled correctly. If an image is added to an ...
2
votes
2answers
1k views

Get Category intro image in the index.php

I want to display the intro image of my categories on the category page. I have a template override for the category blog. Because of the layout, I need to place the code outside of the override - ...
1
vote
1answer
183 views

How to include images in Joomla's search results?

I'm trying to display images in search results for the default search of Joomla. I messed with some code from the web and I managed to display images with the following: in template/html/com_search/...
2
votes
2answers
96 views

Latest articles structured data markup

I have added microdata into every article manually and it works fine. Now I want to insert them into the latest articles module. To override the module in my template and I added: <li itemscope ...
0
votes
1answer
71 views

Listening for a "image upload" event

I want to be able to programatically keep track of new images that have been added, so that I can periodically run a script that does something with the new images. My idea is to have a plugin that ...
3
votes
2answers
111 views

Edit multiple images at once

I've got 25 images in one article and I want to make them all have a margin of 20px. Is there an easier way of doing this than opening the image manager and edit every image one at a time? I'll have ...
3
votes
1answer
172 views

Programmatically set article image

I generate/update several articles through a PHP script (in the cli folder) that parses an external data source (custom tables). This works well. Now, if an article has not yet an image, the script ...
1
vote
1answer
312 views

Front-end custom Joomla module to upload an image and save it in the Joomla images folder

I work on a custom Joomla module that would let users to upload profile images. I created a JForm and wanted to use the form field type "file" as below: <field name="Photo" type="file" label="...
1
vote
0answers
83 views

How can I use first image in article as featured image?

I have searched all over the internet but nothing got useful. I have only hope on this forum. Please tell me how can I use the first image of the article in Joomla as featured image. I don't want to ...
2
votes
1answer
52 views

Create a new folder in 'images' when installing module

I'm working on a basic module to display an image carousel. The module itself works well, but what I want to do now is create a new folder called 'carousel' within the root 'images' folder when the ...
2
votes
1answer
166 views

Define a default intro image on article submissions

I'm searching a way to define a default intro image in the Joomla article creator from the core (when a user create an article if he don't add an intro image there is one by default generated from a ...
0
votes
1answer
221 views

get intro-image from article?

I do not get the images out of my article. The article var is initialized, but the images and pictures vars seem to be empty. Any hints what I do wrong here? <?php $id = JFactory::...
2
votes
1answer
534 views

Images appear in backend but not in frontend

I've installed and removed the JomSEF plugin for redirecting. Now I've a problem. When I create an article, in TinyMCE I insert images and I can see it in the article. When I publish it, images ...
0
votes
1answer
636 views

Display Image via Imagick

I would like to display an image which is not accessible for users (.htaccess denies all). This is my source: header('Content-Type: image/png'); $filePath = ...
1
vote
2answers
490 views

How do you clean up unused virtuemart 2 product images?

I have more than 10000 images in my images/stories/virtuemart/product/ folder. (cant even see more than 9999). Now there are a lot of unused images piled up under the years question is : How do you ...
0
votes
2answers
35 views

Joomla 1.0 - Locating images within a template

I am trying to locate the images folder within the template in Joomla 1.0. I can press Edit HTML and Edit CSS to edit the codes for the site, but I cannot find any ways to access the files in the ...
2
votes
1answer
22 views

Additional "Images And Links" fields - corect way

Just edited administrator/component/com_content/models/forms/article.xml to add more Images fields. The control is very user-friendly. Is there a way of doing it more right without changing core ...
0
votes
1answer
263 views

Add html to Article Image captions

While adding the featured image of an article (Intro Image and Full Article Image), I need to add some simple HTML to the Caption field, since these captions contain scientific names, that must be ...
1
vote
2answers
1k views

Why is there no way to show intro image in single article page?

I find this very inconsiderate. For most articles, intro image = full image. Why do users have to do the "assign image" chore twice? Why can't there be a setting to display intro image in the single ...
2
votes
1answer
729 views

Adding a title attribute on the image tag - How to customize article's full image layout?

I want the full image of an article to use the value of an alt attribute in a title attribute, too. I have been searching everywhere and just can't find the correct file. The file which provides the ...
1
vote
1answer
56 views

Adding pictures to virtuemart product

All I want to do is upload pictures to my virtuemart products from Imgur rather than my computer because I can only use a total of 2 gigabytes for the whole site. I am just learning to do any website ...
1
vote
1answer
916 views

Create thumbnails with custom field images

I have articles with custom fields type media. I need to create thumbnails from these images with a fixed widths (1200px, 700px, 450px and 250px) to display with the picture element and on different ...
3
votes
2answers
2k views

How to save image in specified folder in joomla directory and save file name in db

I am working on a custom component, where at the backend interface - we want the admin user to be able to upload image and let that image directly save to a specified folder - /images/uploads/variants/...
1
vote
1answer
1k views

How to prevent Article images width being stretched to 100%

I am asking about this again because the solution from joomla v3.6 article - uploaded image stretches to max does not seem to work for me. The issue I have is the article images keeping their size ...
2
votes
3answers
1k views

Enable 'Title' attribute for images with TinyMCE Editor

When inserting an image in an article using TinyMCE editor's, the popup that appears only has options for Image Source and Alt text but no way to add a title for the image. It seems like there is a ...
0
votes
1answer
545 views

Show image from the article in blog layout

I'm looking for some help with our website. So, we have this news site which gets lots and lots of new articles in short period of time and therefore it requires lots of journalists working on it. ...
0
votes
1answer
842 views

Change header image Joomla 3.6.0

A friend of mine asked, if I can help him in changing the header image of his Joomla Page. Since I should know how to do this in any CMS, I asked him to provide me with the credentials. However, I did ...
1
vote
1answer
488 views

Easy upload intro image from frontend on specific folder

on joomla frontend submission you can upload intro and full image images using joomla media manager. You first upload on the folder you choose and then select image and then insert image. I need to ...
1
vote
1answer
865 views

How to add link to the image uploaded in image tab of K2 item

Defining a Item in K2, we can upload an image in the Image tab of the K2 Item. Is it possible to create a link to that image? So when a user click in the image is redirect to the same link of the ...
0
votes
3answers
927 views

K2: Search Extra fields

My site is a photography gallery website built with K2. Each K2 item is a photo. I have attached extra fields to each of the photos, for example, resolution, shot by what camera, style, etc. I'd like ...
1
vote
1answer
1k views

Can't insert intro/full article image

For some strange reason I cannot insert intro/full article image in articles anymore. On "Images and Links" tab, I click on button to add images. Popup screen appears and then I paste image url in "...
4
votes
4answers
462 views

Random image in an article

I've built my own template so that when someone creates an article, the image on the top ( like an intro image ) has a width of 100% and its own height ( could be 200px or whatever ). Now someone ...
3
votes
1answer
68 views

Image Usage Right Tagging

Can I tag my site images for Google's "Label for reuse" and such? I appreciate any feedback. P.S. Does Meta keywords do anything anymore? Happy thoughts
1
vote
1answer
782 views

Images won't load, even though links are correct with SSL

Well, I am utterly stumped at this point. I have a site (www.smithfieldtimes.com). It is based on joomla, and I am trying to enable HTTPS on the site. Almost all the links in the template and the ...