like the topic says: Is there a way to change an image in an existing wordpress article while keeping all the defined attriutes for that image like description and so on? Maybe a plugin?
Best Regards,
Stephan S.
The plugin Enable Media Replace should do what you are looking for.
I just tested the plugin Enable Media Replace (as suggested by emartel), and it seems that it now also updates posts that include the affected image or use it as a featured image.
The preview (just after uploading) still shows the old image, but later in the library it seems to get replaced and it seems to work.
Related
I was working on one of the client's site, using x-cart 4.7 version, the template is Reboot. I change their CSS file, but the site style is not changing.
I tried couple method, but still not changing, here's what I tried:
Rename the var/template_c to regenerate the cache. (<- template support suggest)
Uncheck Do not check if templates are changed, it's already unchecked.
I can't use http://www.yoursite.com/xcart/cleanup.php to clear cache. No folder and path found.
I was thinking should use X-cart admin/template-name/template-clean up/ Clear templates/X-Cart cache
Will this method delete a lot of things? Because can't back up the site and database, and I not really familiar with this platform.
Question2: Trying to change categories default image, I changed the setting/Images location/categories-icon(or Banner System images
)it's not changing anything, but Product thumbnails/image is working.
I even change the file name in FTP still working, so I so confused where those image pulling from.
Thank you for all the help.
Q1: Try locating which CSS file is loading on the page. Use web-dev-console for that or just view the page's source code. Temporarily untick the 'Use speed-up tool for CSS' checkbox on the 'Main page :: General settings :: General' before that.
Q2: There are 2 types of category images.
http://demo.x-cart.com/demo_goldplus/Computer-hardware/
1. Temporarily disable the 'Flyout Menus' module to localize the problem with category's menu icon.
2. The same solution as for Q1. Find out which path is used for the category image in the source code.
i using the portfolio-theme studio 9 from simon bouchard.
A great theme with powerfull options.http://themes.simonbouchard.com/studio9/works/
now i would like to change the view of the work-section.
the featured image should change at hovering.
i search fpr the term and found a lot of stuff but always very special and i don´t know to code it in my theme. i´m not good at php or java.
my idea is to work with custom fields and to add a line of code that the image change to the custom field at hovering. i hope it is so simple and you can help me to fix the problem.
thank you so much!
i saw the effect at this page http://heydays.no and found it very very fresh.
The site you like uses ajax to cycle through multiple images when the block is hovered. Your theme probably does not support that. I suggest you look for a theme or plugin that offers the effect you want out-of-the-box. This one comes close and you may be able to set it to do a complete image switch instead of an effect. But the effects actually look cooler to me than the image switch.
as the title might let you suggest I have trouble to get image URL's out of product descriptions in my custom phtml file (located in template folder).
In cms pages/blocks you can use
{{media url="wysywig/Banner/image.jpg"}}
which we do for parts (headlines) of our product descriptions.
Now when I try to display that description out of my phtml file with
<?php echo nl2br($productResult[$i]->getDescription()); ?>
the description gets loaded but the image URL's dont get converted to total
URL's like for example "/media/wysywig/banner".
I know that you have to use Mage::getUrl("media") in php/phtml files though this information doesn't help much in my situation.
The only idea I have is to set a string function to search for
{{media url="wysywig/banner/image.jpg"}}
and replace it with
Mage::getUrl("media/wysywig/image.jpg")
but I kinda feel like this isn't a very elegant solution.
Or is it the only way? Any help is appreciated.
Much thanks and greetings mpfmon
It doesn't work because it was not planned for the product description to have such media call:
{{media url="wysywig/Banner/image.jpg"}}
However there is nothing wrong doing this, to make it work, you have to filter your description with a widget function:
echo Mage::getSingleton('widget/template_filter')->filter($description);
You must enable "Allow Dynamic Media URLs in Products and Categories" setting in Catalog section of Magento configuration screen. (See attached image)
I'm running a WordPress blog with a lot of published articles and a lot of pictures in the media library. My question is:
Is there a way(plugin?) to make WordPress apply changes I made in the media library(e.g. changing the description/alt text of a picture) to already published articles containing that picture?
Each time a media is used by Wordpress on a template, its proper data (excerpt, etc.) sould be loaded.
Try to clean your cache to force Wordpress to reload the data.
Maybe the theme you use on your blog don't use the right fields to populate the alt text of the pictures. Semantically, it should be 'image_alt' and 'post_description'.
http://demo.thethemefoundry.com/traction/#post-183
Which wordpress plugin is this, to have post image on the left side and shortened version of your post on the right, and read more button below?
Thank you
It could be many different plugins, but you could just place your image first, align left, then use this plugin to get the "Read More"...
http://wordpress.org/extend/plugins/sem-fancy-excerpt/
I use this one on my Wordpress, makes the small excerpt nice and neat.
Hey. I think they don't use any plugin to get post-style like this. You can use WordPress 2,9's new feature - Post Thumbnail Images and aling image left, use excerpt's for text and style cool read more link or button style. Read this great tutorial for the last one - Display Post Excerpts Only in WordPress
I hope this will help you to get what you want ;)