🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
WAJ Image icon
Possivelmente abandonado Tested up to 5.2.31 #2 in html generator

WAJ Image

Simple classes & shortcodes for easy image HTML generation from common image directories.

Instalações ativas10+10+ nível
Downloads · 30d56▲ +19.1% vs prev. 30d
Classificação—0 comentários
Pontuação da saúde23/100Em risco
Downloads de todos os tempos1.8KSince Nov 2018
Suporte resolvido—Sem tópicos recentes
RequerWP 5.0.0PHP 7.0+
Downloads · 7d11▼ -35.3% week over week
Nosso veredicto

Considere uma alternativa

WAJ Image shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 8 years ago, and scores 23/100 on our health check.

  • Pequena base de usuários (10+ instalações ativas)
  • Muito poucos comentários até agora
  • Nenhuma atualização em 7 anos
  • Testado apenas até WordPress 5.2 (mais recente é 7.1)

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

3711Sep 5Oct 19Dec 3
Ontem2
Média diária (1y)1
Dia de pico15Sep 11, 2026
Últimos 12 meses431

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where WAJ Image stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
html generator >100 1,442 Best html generator plugins →
image >100 10,000 Best image plugins →
loader >100 1,992 Best loader plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 3.0100.0%

About WAJ Image

Do Readme oficial · v3.0.0

Descrição

This plugin has 3 main classes, with a shortcode for each 1.

Shorcodes:
* [image src=”%url%”]
* [theme-image src=”%url%”]
* [upload-image src=”%url%”]
* [picture src=”%baseurl%” ext=”%ext%” sizes=”%sizes%”]
* [theme-picture src=”%baseurl%” ext=”%ext%” sizes=”%sizes%”]
* [upload-picture src=”%baseurl%” ext=”%ext%” sizes=”%sizes%”]
* [thumbnail]

Classes:
* WaughJ\HTMLImage\HTMLImage
* WaughJ\WPThemeImage\WPThemeImage
* WaughJ\WPUploadImage\WPUploadImage
* WaughJ\HTMLPicture\HTMLPicture
* WaughJ\WPThemePicture\WPThemePicture
* WaughJ\WPUploadPicture\WPUploadPicture
* WaughJ\WPPostThumbnail\WPPostThumbnail

The regular image shortcode loads the exact source URL given, without a cache-corruption-breaking version parameter. It is mainly for use by other classes, like the next 2.

The regular picture shortcode loads %base%.%ext%, as well as extra sources based on the sizes given. Read https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture for mo’ info on how the picture element works.

The theme image & picture shortcodes load images from the current theme directory.

The upload image & picture shortcodes load images from the uploads directory.

The thumbnail shortcode loads a post’s thumbnail. If the post-id attribute is given, it loads the thumbnail o’ that ID. If no ID is given, it tries to supply the ID o’ whatever the current post is ( whatever get_the_ID() gives ). Img, source, & picture attributes can be given through %tag-name%-%attribute-name%. For example, to set the image’s class, add img-class=”%class%”.

The HTML & Theme classes have near the same interface: a mandatory source & optional arguments. For the shortcodes, this means a “src” attribute as well as any other valid HTML attributes; for the classes, it means a hash map as an optional 2nd argument.

The WPUploadImage class takes a mandatory ID integer representing the ID o’ the image in the media section o’ the WordPress admin, the 2nd argument is an optional size string representing the slug o’ the size type as registered in WordPress, with “responsive” for automatically an image that uses srcset to dynamically load the size for different window sizes, & the optional 3rd argument is a hash map for extra attributes, as ‘bove.

The WPUploadPicture takes a mandatory ID integer & the optional attributes hash map.

In addition to any valid HTML attributes, the WPThemeImage & WPThemePicture classes also accept “directory” & they & the uploads classes accept the “show-version” attributes. The former, if set, will automatically put the source in the given directory; the “show-version” attribute, if set to false, won’t try to find the image’s last modified type to give it a version parameter for breaking cache corruption.

If “alt” attribute is not set, an empty 1 will automatically be added to the HTML generated, ensuring that all images made through these will have an alt tag.

To make working with theme image objects with minimal inconvenience for images that are all in the same directory that is not the topmost directory o’ the theme directory, you can globally set the inner shared directory in the WordPress admin through Appearances -> Theme -> Directories, or directly in PHP with WPThemeImage’s static setDefaultSharedDirectory method on the class itself. After that, all initialized WPThemeImage & WPThemePicture instances, including the shortcodes, will automatically use that shared directory if a different 1 isn’t provided.

To add HTML attributes to WPThemePicture & WPUploadPicture shortcodes, prefix them with “img-“, “picture-“, or “source-” depending on what tag you want the attribute given to. For example, to apply a class to the img tag, give the shortcode the attribute “img-class”.

Exemplos

use WaughJ\WPUploadImage\WPUploadImage;
echo new WPUploadImage
(
    31,
    [
        'class' => 'center-img portrait',
        'alt' => 'King'
    ]
);

&

[upload-image media-id="31" class="center-img portrait" alt="King"]

Will generate something like <img class="center-img portrait" alt="King" src="https://www.domain.com/wp-content/uploads/2018/12/demo-150x150.png?m=1543875777" />

use WaughJ\WPThemeImage\WPThemeImage;
WPThemeImage::setDefaultSharedDirectory( 'img' );
echo new WPThemeImage( 'photo.jpg' );

Will generate something like <img src="https://www.domain.com/wp-content/themes/theme-slug/img/photo.jpg?m=1543875777" alt="" />

[upload-picture media-id="8"]

Will generate something like <picture><source srcset="https://www.example.com/wp-content/uploads/2018/12/photo-150x150.jpg?m=1543875777" media="(max-width:150px)"><source srcset="https://www.example.com/wp-content/uploads/2018/12/photo-300x300.jpg?m=1543875781" media="(max-width:300px)"><source srcset="https://www.example.com/wp-content/uploads/2018/12/photo-768x768.jpg?m=1543875785" media="(max-width:768px)"><source srcset="https://www.example.com/wp-content/uploads/2018/12/photo-1024x1024.jpg?m=1543875831"><img src="https://www.example.com/wp-content/uploads/2018/12/photo-150x150.jpg?m=1543875777" alt="" /></picture>

For mo’ information on how each class works, check out their documentation @ https://github.com/waughjai?tab=repositories

Instalação

  1. Carregue os arquivos do plugin no diretório /wp-content/plugins/plugin-name ou instale o plugin por meio da tela de plugins WordPress diretamente.
  2. Ative o plugin através da tela 'Plugins' em WordPress
  3. Images can be added using shortcode in WordPress editors or directly in PHP by using instances o’ classes. Instances o’ classes can be automatically casted into strings & used as strings.

Log de Changes

3.0.0

  • Revamp all shortcodes & underlying classes.
  • WPUploadImage & WPUploadPicture shortcode attributes now use “media-id” for image ID & WPPostThumbnail now uses “post-id” ’stead o’ either using just “id” so they don’t conflict with setting id HTML attribute.
  • All classes have improved error-handling so that they all throw exceptions. Shortcodes catch all exceptions so unsightly errors don’t show up on public website.

2.2.2

  • Update Directory class so that WPThemeImage doesn’t cause it to break with empty directory.

2.2.1

  • Turn on thumbnail support by default.

2.2.0

  • Add WPPostThumbnail class & shortcode for easily getting post thumbnail.

2.1.1

  • Fix WPThemePicture bug changing default theme shared directory.

2.1.0

  • Update dependencies, test for WordPress 5.1.

Registro de change completo em WordPress.org →

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best WAJ Image alternatives

All html generator plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 Newsletter Composer Newsletter Composer This plugins makes an HTML newsletter file with the category you have selected. by ralerin 10+ ★★★★★★★★★★ Sem comentários 13 anos atrás 23
3 WAJ Image Slider WAJ Image Slider Plugin that creates shortcode for easy creation o' image sliders. by waughjai <10 ★★★★★★★★★★ Sem comentários 8 anos atrás 21

FAQ

WAJ Image: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is WAJ Image free?

Yes. WAJ Image is free to download and use from the official WordPress.org plugin directory.

Is WAJ Image safe to use in 2026?

WAJ Image shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 8 years ago, and scores 23/100 on our health check.

How many websites use WAJ Image?

WAJ Image is active on 10+ WordPress websites and has been downloaded 1,837 times since it launched in November 2018. It was downloaded 56 times in the last 30 days.

Does WAJ Image work with WordPress 7.1?

WAJ Image is officially tested up to WordPress 5.2.31, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does WAJ Image need?

WAJ Image requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was WAJ Image last updated?

The latest version, 3.0.0, was released on May 20, 2019 (8 years ago).

Who makes WAJ Image?

WAJ Image is developed and maintained by waughjai.

What are the best alternatives to WAJ Image?

The most popular alternatives to WAJ Image are Newsletter Composer (10+ installs) and WAJ Image Slider (<10 installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir