A web-based tool for creating beautiful, customizable photo cards and social media graphics. Perfect for news websites, bloggers, and content creators who need to generate professional-looking visuals quickly.
- Multiple Templates: Choose from various professionally designed templates including Classic Newspaper, Jamuna, Prothom Alo, and more
- Bengali Language Support: Full support for Bengali text with proper fonts and typography
- Customizable Content: Edit headings, subheadings, dates, and other text elements
- Image Integration: Upload images or use URLs, with scaling, positioning, and object-fit controls
- Logo and Branding: Add custom logos and branding elements
- Color Customization: Adjust accent colors, background colors, and text colors
- Font Selection: Choose from multiple Google Fonts including Bengali-specific fonts
- Dark/Light Theme: Built-in theme toggle for the application interface
- Export to Image: Generate high-quality PNG images using html2canvas
- Responsive Design: Works on desktop and mobile devices
- Local Storage: Automatically saves your work and preferences
- HTML5: Semantic markup and structure
- CSS3: Custom properties, flexbox, and responsive design
- Vanilla JavaScript: No frameworks, pure JavaScript for optimal performance
- html2canvas: Client-side image generation from HTML elements
- Choices.js: Enhanced select dropdowns
- Google Fonts: Multiple font families including Bengali fonts
Visit photocard.aminul.dev to use the tool directly in your browser.
-
Clone the repository:
git clone https://github.com/yourusername/photocard-generator.git cd photocard-generator -
Open
index.htmlin your web browser:open index.html
Or serve it with a local server for better functionality:
python -m http.server 8000 # Then visit http://localhost:8000
- Select a Template: Choose from the available templates in the sidebar
- Customize Content:
- Edit text fields like heading, subheading, date
- Add your domain name and social media handles
- Add Images:
- Upload an image file or enter an image URL
- Adjust scale, position, and object-fit properties
- Customize Appearance:
- Choose fonts from the dropdown
- Pick accent, background, and text colors
- Add Branding:
- Upload a logo
- Add advertisement images if supported by the template
- Export: Click the download button to save your creation as a PNG image
- Classic Newspaper: Traditional layout with large image and bottom text
- Jamuna: Modern design with overlay text
- Prothom Alo: Newspaper-style layout
- Kaler Kantho: Clean, professional design
- Samakal: Minimalist approach
- Bangladesh Pratidin: Structured layout
- Ittefaq: Classic newspaper format
- Manab Zamin: Traditional styling
- Amar Desh: Bold and prominent
- Naya Diganta: Elegant design
- Jugantor: Dynamic layout
- Inqilab: Impactful presentation
- Chrome 70+
- Firefox 65+
- Safari 12+
- Edge 79+
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
To add a new template:
- Add a new object to the
templatesarray intemplates.js - Include
id,name,description,defaults,html, andcssproperties - Use template variables in curly braces (e.g.,
{heading},{image}) - Test the template thoroughly
This project is licensed under the MIT License - see the LICENSE file for details.
Aminul Islam
- Website: aminul.net
- GitHub: @AminulBD
- Facebook: @aminul.run
- X: @AminulWP
- LinkedIn: @aminulbd
- Icons from Lucide & Heroicons
- Fonts from Google Fonts
- UI components inspired by modern design principles
Made with ❤️ for content creators and news organizations.
