[Tool] ThemeForest PlaceHolder Machine (the most easy and fast tool for creating image placeholders)

getting following erorr.

E:\PlaceHoldMachine-master>use.py
Traceback (most recent call last):
File “E:\PlaceHoldMachine-master\use.py”, line 2, in
from PlaceHoldMachine import PlaceHoldMachine
File “E:\PlaceHoldMachine-master\PlaceHoldMachine.py”, line 234
print '[Info] ’ + message
^
SyntaxError: Missing parentheses in call to ‘print’

1 Like

Yes, Python 3 is not works now.
Try to install Python 2.
I will fix this soon.

1 Like

Little up :slight_smile:

Python 3 support added now.

Little Up.

@Priler i wanted to use this,
but i am getting error in windows

ImportError: The _imagingft C module is not installed
even though the package exists.

wish, it should have been developed as a php library with composer.

Can we use it for WordPress themes? how?

Your installed PIL was compiled without libfreetype.

You can get precompiled installer of PIL (compiled with libfreetype) here (and many other precompiled Python C Modules):

http://www.lfd.uci.edu/~gohlke/pythonlibs/

Yes, you can use it anywhere you want, all you need is to set up list of directories where you want to replace images with their placeholders.

Hi,
Thanks for the tip.

it took lot of time but finally i am able to execute but now i have one more problem.

even though its finding images, it says file is not image type

C:\Users\Seenu\Desktop\PlaceHoldMachine>python use.py
[Error] D:/test\Chrysanthemum.jpg is not image
[Error] D:/test\Desert.jpg is not image
[Info] Done! 0 images processed and replaced with placeholders! :)
[Info] 0.0620000362396 seconds spent. Woop Woop Woop!

Thanks for reply!
Can you provide Chrysanthemum.jpg and Desert.jpg so I can test it myself and fix this bug?
Upload it somewhere and drop a link here.

they are windows default images :wink:

https://onedrive.live.com/redir?resid=CD0A650DFF7406C4!15072&authkey=!AJ5FLpgGtmq_nw4&ithint=file%2Czip

please try with them.

thanks

1 Like

Hm, seems working fine on Linux: http://storage8.static.itmages.com/i/16/0412/h_1460447839_6811960_2df7389b4d.png

Will check it today later on Windows.

I just tried on linux and it worked perfectly.

900+ images in 10 seconds… pretty fast :thumbsup:

1 Like

Thank you!)
In further I will update this to make it work even faster.

1 Like

Little Up :slight_smile:

One more up.

Hey guys

We created a simple plugin that automatically generates and replaces the images with placeholders in three steps.

The plugin reads the dimensions of your copyright images and creates an image of the same size and type before replacing them.

All are automated

https://codecanyon.net/item/placeholder-image-generator-and-replacer-for-wordpress-themes/19340312

Hope this makes the task easy
We are also looking forward to improve the plugin. If you have any suggestions, please feel free to let us know.

Ramesh

Updated to version 1.0.2:

  • Pillow 3.4.x is now supported
  • Python 3 up to v3.6 is now supported
  • set_allowed_image_formats method was added