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
4
votes
4answers
424 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 ...
4
votes
2answers
7k views

Joomla constant to current template path

I am developing a custom module, and I need this module to show selected some pictures selected in the backend. So, I declare a parameter with type "imagelist" in my module xml file. <fields ...
4
votes
2answers
109 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 ...
4
votes
1answer
230 views

Can Joomla be used as a photo gallery for large amounts of images?

Frontend: My intended goal would be the look and functionality of i.e. google image search (masonry style) or tumblr's archive thumbnail-view or flickr. If you click on a thumbnail you'd get a ...
4
votes
1answer
167 views

Set Category and Full Article Image

Joomla 3.4.4 I have a single category called 'Departments'. This contains hundreds of articles. Is there any way I can set the same 'Full Article Image' for each of these articles? See image; I ...
4
votes
1answer
156 views

How to get a Joomla3 template to install the images in a different location-specifically joomlaroot/images?

I've created a Joomla 3 template. When I install the template, I'd like to have the template images automatically install into the joomlaroot/images location. The reason I'd like to do this is because ...
4
votes
1answer
137 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 ...
3
votes
4answers
774 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 ...
3
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 - ...
3
votes
2answers
1k 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/...
3
votes
1answer
65 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
3
votes
1answer
228 views

Editing intro images

I've got a great number of articles to which I have to add various intro images from one specific folder. As I understand it, I have to open each article in backend, go to "Images and links" tab, at ...
3
votes
1answer
35 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 ...
2
votes
2answers
80 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 ...
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 ...
2
votes
1answer
82 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 ...
2
votes
2answers
106 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"...
2
votes
1answer
21 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 ...
2
votes
1answer
494 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 ...
2
votes
1answer
210 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="...
2
votes
1answer
39 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
626 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 ...
2
votes
1answer
1k views

Images not displayed after migrating from localhost (Internal Server Error)

After uploading my Joomla! 3.3 from localhost, I got a very serious problem: the images on the website are not displayed! When I tried accessing the URL of an image, I got an Internal Server Error. ...
2
votes
0answers
49 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 ...
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 "...
1
vote
2answers
2k views

Where is <body> and <head> in joomla 3.4 folder, for I add js scripts

I need to add this: <link rel="stylesheet" type="text/css" media="screen" href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/1.3.4/jquery.fancybox-1.3.4.css" /> <style type="text/css"> ...
1
vote
2answers
916 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 ...
1
vote
1answer
947 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 ...
1
vote
1answer
27 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 = ...
1
vote
1answer
997 views

How to use images from the domain images folder for all subdomains? [closed]

I have a website with a lot of images and many of them are going to be used by two subdomains. I wanted to avoid uploading the same images twice, so I thought maybe to use the images from the domain....
1
vote
1answer
32 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?...
1
vote
1answer
29 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 ...
1
vote
1answer
30 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 ...
1
vote
1answer
110 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/...
1
vote
1answer
44 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
2answers
31 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 ...
1
vote
1answer
859 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 ...
1
vote
1answer
444 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
724 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 ...
1
vote
1answer
61 views

Images on mobile version and scaled version of website disappear

I have a really strange issue: Images on the mobile version and scaled version of our website are first loading correctly and then they suddenly disappear. Any clue what could have happened? Cache and ...
1
vote
2answers
461 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 ...
1
vote
0answers
23 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 ...
1
vote
0answers
12 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
138 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; ...
1
vote
1answer
798 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 ...
1
vote
2answers
855 views

Setting Specific Session Variable (user specific image folder)

I'm trying to integrate http://responsivefilemanager.com/ into joomla to replace the normal image manager so I can have per user image folder option. I managed to integrate it reasonably well into ...
0
votes
3answers
3k views

Best image size for Joomla 3.0 before an article

In Linkedin, best image size is 698x400 pixels.Want to know the same for images appearing before an article in Joomla 3.0 (like Need a Writer... image, http://bit.ly/15ZvlcR).
0
votes
1answer
118 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::...
0
votes
1answer
42 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
1answer
242 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 ...