Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 1st, 2014, 05:27 PM
rcdf14 rcdf14 is offline
 
Join Date: Aug 2014
Posts: 8
Default Add images to text

Hi, I was thinking about trying to add one or two small images to some text I put in a text block (for store front page). I want to try and grab the images from my WP media library. I know how to write the code - it starts off:

<img class="aligncenter size-full wp-image-1234"

Then after that comes the image URL, then width and height, then you close the tag with />

1234 represents a number that WP assigns to every image, that I know how to get. I don't want to link the images to anything - just the images. Do you think it will work? And/or do you know of a simpler/better way to add an image to a text block.

I have been able to put shortcode for a slider in a text block and that worked, so I wonder if this image code would grab the WP image. What do you think?
  #2  
Old December 2nd, 2014, 09:30 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Yes, this will definitely work. This is a good way to do it, too. Just make sure you link to the full image URL including "http://".

Eric
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Images in text module not displaying nessa2shoes Problems 2 September 4th, 2014 04:17 PM
How to get rid of this text getcocoon Problems 2 June 25th, 2013 06:34 PM
Alt Text digitalcow Questions 6 November 20th, 2011 11:12 AM


All times are GMT -5. The time now is 02:28 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.