So I am stripping down wordpress and using it as a simple photo/video gallery site. Basically each section has two types of pages: the gallery index (just thumbnail images), and the photo/video page itself.
The problem that arises is one of lazyness, I have a whole lot of photos and videos to add, and creating a new post for each item will be extremely tedious to say the least.
Is there an easy way to create a large number of posts at once, each with different content?
I'm thinking like a plugin or a script or some method I am as of yet, unaware of.
PhotoBlogs are different from normal blogs. Normal blogs put the emphasis on the words with only the occasional image featured. PhotoBlogs are all about the images and not the words.
The easiest way to get started with photoblogging on WordPress is to either install Johannes Jarolim's YAPB (yet another photo blog) plugin or the PhotoQ Photoblog plugin.
YAPB adds all of the functionality of a standard photo blog directly to WordPress with a minimum of configuration. It includes automatic image resizing, exif data, and other tools. Johannes' site has links to themes already incorporating YAPB, otherwise you can make your own.
PhotoQ takes a slightly different approach, it gives you a queue which you can fill with photos to be posted on your photoblog. PhotoQ is geared to batch processing of photos and it features batch uploads, automatic image resizing, exif support, watermarking and automatic posting via cronjobs among other features.
At last, if you don't like any, here is the list of 7 Superb Wordpress Photo Gallery Plugins
Related
I am outlining a WordPress plugin that will take some information much like a blog post, including a featured image. I do not want to use actual posts, as this information really isn't part of the blog.
My question is about storing the "Featured Image" portion of this data. I would like to just put it in the database as a BLOB along with the other information on the record, but it doesn't seem that the $wpdb object is built to hand this data type.
So my question is this: How can I use the $wpdb object to insert BLOB data into the database OR is there a better alternative to using the database for this purpose?
Assuming you mean that the plugin will collect this information for multiple entities, it sounds like a job for Custom Post Types. That'll allow you to leverage all the functionality of posts (including feature images), but they won't pollute the blog.
There are also a variety of plugins that will allow you to generate custom post types via a UI rather than having to code them. For example, you might check out the Custom Post Type UI plugin.
If you just want to use the media manager to save a single image for the plugin (rather than one per entity), you could use a tutorial like Using the WordPress Uploader in Your Plugin or Theme to integrate the media manager into your own settings page.
Also, you're right that the WordPress database doesn't store images as blobs. WordPress saves uploaded image files to the wp-content/uploads directory, and stores a URI reference to them in the database for later retrieval.
I want to, create blog page in my website.
There are bunch of huge blogging platforms such as: Wordpress, Blogger ... But the problem is, they are offering a loads of unneeded functions. Of course, I can create simple blog. But it will cost a lots of time and I don't want to reinvent the wheel.
So what I need is, "core" functions of blogging system such as:
Adding, removing, editing posts, inserting attachments, images o posts
Pagination
I don't want to integrate wordpress because of reasons that I explained above.
Any suggestions?
I used cutewnews for a while when I was new to coding (http://cutephp.com) it's pretty much the same as a blogging system. Create posts, edit posts, archive posts, categories, template is very customizable, allow/block comments, require users to register in order to add comments, block IPs, WYSIWYG editor, etc. It's all done in the back end and then you add a few lines of code in your page and the posts will appear. You can also designate how many you want to display per page. It's simple but effective and free. I believe there is a link at the bottom of the script going back to http://cutephp.com/ but you should be able to find it and delete it. It takes about 2 minutes to install and get set up. You don't even need mysql. Will work with any php frame work or coding style as long as you have the ability to create your own blank page where you can plop the code.
I will be using Wordpress as a CMS with custom post types. Each "post" is a product and will have 20-60 images in 3 different sizes (60-180 total images per product).
What's the best way to link the images to the post?
I'm thinking about storing them on Amazon S3 and recording the URLs in custom meta tags, but I want to make sure I do it in a way that its easy to retrieve.
The WordPress has a built-in media library which has hooks that relate images to specific posts (products in your case). Given that a solid API exists for this, you may want to start there.
Helpful functions to look into are:
wp_insert_attachment
wp_delete_attachment
wp_get_attachment_image_src
wp_get_attachment_metadata
Update: To be more specific for this project, also be sure to look into add_image_size which allows you to define various thumbnail sizes which your posts can use. In other words, upload one large image and WP will automatically generate the rest. Mark J. of the WP team made a good writeup of the feature back wen 2.9 was released.
As for the S3, that definitely isn't a bad idea either, but keep WP as being your core source of data. Perhaps you can use a back-end process to move them to S3 and then update the attachment's metadata. When you render the post, check to see if a S3 URI exists, otherwise default to a local image.
(Disclosure: I'm not very familiar w/S3; but this is how I would start my quest.)
I am in the process of building a website for a DJ. Instead of reinventing the wheel, I thought I would look out there if there are any solution available. My requirements are:
Ability to have own domain name & custom design
Section for listening to DJ's song
Section for photos
Section for videos
Usual CMS functionalities for managing static pages (personal bio)
Self-hosted & PHP is a big plus
Open source/proprietary free/paid doesn't matter
If you answer with a more generic CMS (i.e. WordPress), could you point out some extensions that would be helpful. I'm also open to web apps that don't fill every requirement, but explicit which of the requirements are not available.
Not a 100% match for a DJ, but Indexhibit is very popular among artists in general. I like it personally, and use it whenever I need to set up a simple, minimalistic CMS for a client.
It brings a lot of gallery and image management functions and is relatively easy to extend if you speak PHP. Every page can have a custom background image. No built-in WYSIWYG editor, so text and layout possibilities are very limited - although I find that is often a good thing.
It doesn't come with a built-in music and video playing facility out of the box, which is the biggest minus. The project's forum, however, shows some successful examples of people who managed to build that in. I can't make any estimate on how hard that would be.
Other than that, it does everything you need. The design is customizable through style sheets and page templates; there are various gallery functions; it's self-hosted, and Open Source (but asks for a backlink to be put somewhere on the site).
Drupal
Wordpress
Joomla
Google Search Results:
Play a MP3 / Wordpress plugin
Photo Gallery / Wordpress Plugin
Videos / Wordpress Plugin
if you need to find Drupal or Joomla plugins, replace tghe word 'Wordpress' in the Google Search
All three of these are very customisable
I've been looking at Wordpress plugins for photo galleries (so maybe this is for superuser.com), and I've been very frustrated so far. It seems like what I'd like to do would be a very common use case:
Admin: Be able to upload multiple pictures (at a time)
Admin: Be able to assign a "gallery" to those pictures as I upload them
User: Be able to go to a page with a (paged) list of all galleries
User: Be able to click on gallery and view the images (again, probably paged) in that gallery
User: Be able to click on an image to get larger/largest sizes
User: Be able to leave comments on individual pictures (this is a "nice to have")
The images/galleries could be totally independent of posts/pages, but it would be nice to be able to embed those images/galleries into posts/pages when necessary.
Is there anything out there like this that I'm missing? I've tried a handful of plugins and none of them seem to be for a use case anywhere close to what I'm looking for. One of the reasons I'm trying to use Wordpress is to reduce time spent coding everything I want.
Check out NextGen Gallery. It's a great image gallery plugin for WordPress.
Try taking a look at the this NextGen site for a walkthrough of all it's features.
Here are two other alternatives that look like they may fit what you're looking for (of course, you may have already tried them unsuccessfully):
PhotoSmash Galleries
Post videos and photo galleries
Good Luck!
Tag Gallery may be of interest to you. You can manage your media via tags from the built in Media Library of Wordpress and this plugin builds galleries from your tags. Pretty nifty.