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
2 votes
1 answer
22 views

override for /layouts/joomla/content/full_image.php // alt attributes for images in Joomla 4

I need to make some adjustments to /layouts/joomla/content/full_image.php in Joomla 4.1.5. For all (full) article images without an alt attribute the alt attribute should be the title of the article. ...
user avatar
  • 61
1 vote
0 answers
35 views

getting first image of article for open graph

I've been a PHP developer for long time, but I am new to Joomla. On a Joomla 2.5 project, I need to make open graph meta tags. As a part of open graph meta tags, I need to find first image of article. ...
user avatar
  • 121
1 vote
0 answers
44 views

Delete Thumbnails Button Created as Joomla Custom Form Field Throws Me Out

I am developing a Joomla 4 Content Slider Module and it creates thumbnails in the mysite.com/cache/mymodule/ folder. I am trying to add a delete-thumbnails button. I am using a custom form field for ...
user avatar
  • 21
0 votes
0 answers
26 views

Joomla 4 add background image to article

I cant figure out what im doing wrong. My goal is add background picture to article. I created custom.css file with simple code .main-page-picture { background-image: url('/images/main_foto_final....
user avatar
  • 101
1 vote
2 answers
201 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 ...
user avatar
  • 1,839
1 vote
0 answers
33 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 ...
user avatar
  • 11
2 votes
1 answer
129 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 ...
user avatar
  • 1,839
1 vote
0 answers
60 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 ...
user avatar
  • 63
1 vote
0 answers
32 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 ...
user avatar
  • 63
0 votes
1 answer
53 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?...
user avatar
2 votes
2 answers
626 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"...
user avatar
4 votes
1 answer
58 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 ...
user avatar
  • 3,501
1 vote
0 answers
21 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/...
user avatar
1 vote
1 answer
31 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 ...
user avatar
  • 203
0 votes
0 answers
24 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 ...
user avatar
  • 1
0 votes
1 answer
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 ...
user avatar
  • 99
0 votes
0 answers
21 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 ...
user avatar
1 vote
1 answer
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 = ...
user avatar
1 vote
1 answer
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 ...
user avatar
  • 483
1 vote
1 answer
245 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/...
user avatar
  • 85
2 votes
2 answers
116 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 ...
user avatar
  • 85
0 votes
1 answer
84 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 ...
user avatar
  • 299
3 votes
1 answer
202 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 ...
user avatar
1 vote
1 answer
388 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="...
user avatar
1 vote
0 answers
112 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 ...
user avatar
2 votes
1 answer
56 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 ...
user avatar
  • 43
0 votes
1 answer
231 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; ...
user avatar
  • 105
2 votes
1 answer
223 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 ...
user avatar
0 votes
1 answer
333 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::...
user avatar
  • 181
2 votes
1 answer
23 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 ...
user avatar
0 votes
1 answer
270 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 ...
user avatar
  • 167
1 vote
2 answers
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 ...
user avatar
  • 1,369
2 votes
1 answer
770 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 ...
user avatar
  • 121
1 vote
1 answer
66 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 ...
user avatar
  • 11
0 votes
2 answers
42 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 ...
user avatar
1 vote
1 answer
961 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 ...
user avatar
  • 1,371
1 vote
1 answer
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 ...
user avatar
  • 203
2 votes
1 answer
560 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 ...
user avatar
  • 273
0 votes
1 answer
619 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. ...
user avatar
  • 43
1 vote
1 answer
512 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 ...
user avatar
  • 43
3 votes
4 answers
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 ...
user avatar
2 votes
2 answers
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 - ...
user avatar
  • 131
1 vote
1 answer
882 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 ...
user avatar
  • 15
4 votes
2 answers
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/...
user avatar
  • 375
0 votes
1 answer
853 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 ...
user avatar
  • 101
1 vote
1 answer
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 "...
user avatar
  • 113
4 votes
4 answers
492 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 ...
user avatar
  • 99
3 votes
2 answers
114 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 ...
user avatar
  • 33
1 vote
1 answer
807 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 ...
user avatar
0 votes
1 answer
157 views

How to view all the products with thumbnail pictures, prices, etc in Virtuemart 3.4.5?

trying to see the entire datebase of all the products with a thumbnail image as well as the quantity, price, etc of each product.VirtueMart 3.4.5 Does anyone know if it's possible? Thank you
user avatar
  • 11