Here's what was popular in the PHP community one year ago today:
Got a case of the afternoon slumps? So tired, you’re melting into the floor? You need caffeine, yes, but you’re also probably missing a good chunk of vitamins in your diet: so why not combine the two!
With Vitacup, you ingest vitamins with your coffee, so you’ll
never forget your daily dose. When you wake up late and don’t have time to take your vitamins, dry your hair, or make the bed, let’s be real: you still have time to make coffee. VitaCup’s quality vitamins are blended with premium medium roast coffee, in pods or ground form so you can drink your cup the way you like. They offer multiple blends, with different vitamin combinations that you can select to determine the type of day you want to have.
Here are the two blends that reign supreme.
The Genius Blend
For the go-getter who wants to boost energy, metabolism, and focus, the
Genius Blend is your leg up on the competition. The powerhouse of essential B vitamins ensures that you’ll stay energized. Vitamins B1, B5, B6, B9, B12, and D3 are essential for your body to function at its best; including boosting energy, supporting metabolism, and promoting brain function!
The properties in the mighty blend of MCT Oil, Turmeric, and Cinnamon all work together to spark focus and deliver a boost of antioxidants, while the super hit of Vitamin D keeps you strong, especially in the less sunny months.
All that good stuff is wrapped up in a cup of smooth medium roast coffee made from 100% Arabic beans from Brazil and Mexico, plus a subtle cinnamon kick!
The Slim Blend
Starting with the beneficial B-vitamin blend, this infused coffee works with your body to boost energy naturally, plus promote a strong metabolism and overall well-being. Found in the rind of the Garcinia cambogia fruit, hydroxycitric acid, is the
Slim Blend’s superstar ingredient; assisting with appetite control – meaning it helps you stay fuller between meals.
The other dynamic active ingredient is the herbal root, Panax ginseng, which is a powerful adaptogen that can assist the body in managing stress and mood, as well as boosting athletic endurance.
Buy one or try them plus, you can even subscribe to a monthly shipment to save money and never run out!
VitaCup offers a 100% money-back guarantee on every bag or box sold. So if you don’t absolutely love it, you’ll get a full refund, no questions asked!
As per the latest study by Persistence Market Research (PMR), the global weight loss dietary supplements market is anticipated to witness healthy growth. The market is likely to register 6.0% CAGR throughout the forecast period 2017-2026. The global weight loss dietary supplements market is also estimated to bring in US$ 37,177.6 million revenue by 2026 end.
With obesity becoming a global health concern, weight loss continues to be one of the most focused areas. Hence, increasing number of companies are coming up with the new products in weight loss supplements. The increasing consumption and demand for weight loss dietary supplements, regulations on the production of these supplements along with ingredients used are also gaining traction in various countries. The government in various countries are also focusing on the quality and quantity of ingredients used and if any of these ingredients can have severe side-effects, affecting the health of the consumers negatively.
Get Sample Copy of Report @ https://www.persistencemarketresearch.com/samples/20380
Increasing use of Natural and Organic Ingredients in the Weight Loss Dietary Supplements
The negative effects of being obese and overweight are resulting in the increasing use of weight management products. Consumers are also adopting weight loss supplements in forms of pill, liquid, and powder. Hence, with the increase in the use of these supplements, manufacturers are also trying to produce safer products, thereby using organic and natural ingredients and plant-based ingredients. Among various ingredients, green tea extract is considered as one of the most popular and safest ingredients in the weight loss dietary supplements. Similarly, Garcinia cambogia is also being considered as an ingredient in the weight loss supplements. However, these ingredients have been reported to have adverse effects like a headache, constipation, UTI. Hence, there has been an increase in the investment in the research on other organic ingredients that can be used to produce weight loss supplements.
Global Weight Loss Dietary Supplements Market: Segmental Insights
The global weight loss dietary supplements market includes various segments such as end-user, form, ingredients, distribution channel, and region. Based on the form, the market is categorized into powder, liquid, and soft gell/pills. Soft gell/pills are expected to dominate the market during the forecast period. By the end of 2026, soft gell/pills are expected to exceed US$ 18,500 million revenue.
Based on the end-user, the segment consists of men, women and senior citizen. Among these, women are expected to be the largest users of weight loss dietary supplements. Women segment as the end-user is estimated to create an incremental opportunity of more than US$ 7,900 million between 2017 and 2026.
By Distribution Channel, pharmacies drug store is expected to emerge as the largest distribution channel for the weight loss dietary supplements. Pharmacies drug store is estimated to account for more than one-third of the revenue share by the end of 2017.
Based on the ingredients, the segment consists of amino acids, vitamins minerals, botanical supplements, and others. Vitamins minerals are expected to emerge as one of the largest used ingredients in the weight loss dietary supplements. By the end of 2026, vitamins minerals are estimated to exceed US$ 16,900 million revenue.
Region-wise, the market is categorized into Europe, North America, Asia Pacific Excluding Japan (APEJ), Latin America, Japan, and the Middle East and Africa (MEA). Among the given regions, North America is expected to dominate the global weight loss dietary supplements market throughout the forecast period 2017-2026.
Request Customization of this Report @ https://www.persistencemarketresearch.com/request-customization/20380
Global Weight Loss Dietary Supplements Market: Competitive Assessment
Key players in the global weight loss dietary supplements market are Amway (Nutrilite), Abott Laboratories, GlaxoSmithKline, Glanbia, Herbalife International, Pfizer, American Health, Stepan, Nature’s Sunshine Products, and FANCL.
Article source: https://financialexpressnow.com/2019/08/weight-loss-dietary-supplements-market-will-register-a-staggering-6-0-cagr-through-2026/
Corner navigation has been with us for a while. It is a small trend that has emerged from the popular perimeter navigation. However, unlike its predecessor, it looks less massive and more elegant, giving more space to the content.
It fits nicely into today’s hero areas that are used to produce the first impression. Occupying corners, it minimizes the risk of being at cross purposes with the extravaganza on the fore. And still – with all of that it provides users with a quick method to get away or move forward to explore the inner world of the website.
The solution is very flexible. It does not have any restrictions or preferences. It comes in various styles and combinations. You are welcome to mix and match multiple integral components, carefully scattering them across the screen. Just take a look at these fantastic examples for inspiration.
The Complete Toolbox for Web Designers
Unlimited Downloads: 1,000,000+ Web Templates, Themes, Plugins, Design Assets, and much more!
As befits all modern hero areas, the welcome area of Alpha Blue Ocean also includes a dynamic piece that is assigned to command the attention and set the businesslike tone for the project. While the navigation should serve a secondary role here, it stands out thanks to a generous amount of white space and perfect contrast between the white color and dark blue background. It naturally catches an eye.
Note, at first glance, it seems that it occupies only the corners. However, due to the subtle appearance of the text and glyphs, they manage to take up the left and right side and do not overpower readers. Thus, the left side features the navigation through the homepage, whereas the right side includes a logotype, hamburger nav, and social media pack.
The team behind Playermaker uses the corners to their advantage as well. They have won over some extra space for their impressive photo background. Here, all the elements that are inherent to the first screen, such as the call-to-action, logotype, streamlined navigation and links to social media profiles are located in the four respective corners.
Note the location of the traditional five-item navigation. It is located at the bottom left of the screen. It feels quite unusual, yet inspiring and refreshing. The solution gives a tiny twist to the overall aesthetics without doing anything extraordinary. Neat and smart.
Much like the two previous examples, Neundlinger also goes for the corner type of navigation – saving the home screen from looking ordinary. Here you can see a trendy vertical rhythm that was ingeniously applied to the menu on the left.
The slider’s controllers occupy their places under the sun just in the right angle. Note, all the elements of the navigation paired with the logotype form one area. Or, to be more precise, a frame. The latter visually edges the slider and gives it a greater focus. Here, the corner navigation ideally blends into the boxy-styled aesthetics.
The team behind Hot2Be has improved the overall navigation without many sacrifices. They have used empty corners to show some additional links that they have found useful for their audience. Thus, the bottom left corner accommodates the social media icons, whereas the bottom right corner holds music player controls to make the presence of visitors pleasant and comfortable.
The logotype and language switcher sit exactly where they should. Although the upper part of the screen feels more massive than the lower part, there is a certain sense of harmony. Here, the navigation effectively covers all the vital escape routes and still looks stylish. And, most importantly, it’s unobtrusive.
Wolf and Whale is an example where corner navigation borders with the perimeter navigation, producing quite an impressive outcome. It takes up not just corners but also some space in the right and left sides, feeling spacious and unforced.
Here you can feel an organizational harmony and order. It seems like everything is in its right place. The design is clean, neat and smart. So does the navigation. It fits like a glove with its tidiness and sleekness. Also, note the focal points that are skillfully placed here. The reading path starts with the word “design,” then it goes through the backlink to the works, and ends with a call-to-action button in the lower right corner. Smart.
The team behind Neal Ymar’s official website heavily relies on an intricate play with the boxy structures. And the solution certainly pays off. The hero area looks fantastic. It feels elaborate and sophisticated, even though only primitive squares and rectangles are involved.
The corner navigation goes perfectly well with it. It finishes off the entourage and makes the theme look complete. And with all that, it manages to speak for itself, giving all of its elements a sense of importance.
Oropress is an excellent example of everything being done with minimalism in mind. The hero area is incredibly spacious, tidy and clean. The team has chosen only integral elements. However, everything is not as primitive as it may seem at first glance; and the parallax-based tagline in the heart of the page is a proof of that.
Here, the minimalism was taken to the next level, playing a role of extravaganza. Covering only essential items and occupying just three angles instead of four, the corner navigation meets the ideology of the website, making its contribution to the overall aesthetics.
The personal portfolio of Romain Avalle is another example of a minimalistic approach that was implemented to bring benefits to the owner. Much like the previous example, it is also built on the classic black and white color scheme, spruced up with a ton of white space.
Here, the initials of the artist’s name serve as an entertaining element that makes an impression. The corner navigation includes just two backlinks that lead to sections for works and a contact page, along with a logo. It blends in without a doubt. It feels like it is the only right solution here, since it efficiently supports the theme and strengthens the tone of the project.
The Corner Office
Corner navigation comes in handy in numerous situations. Whether it is a website with a traditional structure or a modern one, it will easily find its way to improve the situation and contribute to the general experience.
Thanks to its unobtrusive, neat, and elegant look, it becomes an ideal partner for those websites where hero areas are populated with intricate concepts that aim to make everything about themselves. In such an environment, the corner navigation naturally steps aside. Yet it still provides online visitors with helpful links and essential gateways.
The post Out of the Way: Corner Navigation in Web Design appeared first on Speckyboy Design Magazine.
PHP Internals News: Episode 23: Deprecated Short Open Tags, again
London, UK
Thursday, August 15th 2019, 09:23 BST
In this episode of "PHP Internals News" I chat with George Banyard (Website, Twitter, GitHub, GitLab) about his second RFC "Deprecate Short Open Tags, again".
The RSS feed for this podcast is https://derickrethans.nl/feed-phpinternalsnews.xml, you can download this episode's MP3 file, and it's available on Spotify and iTunes. There is a dedicated website: https://phpinternals.news
Package:
Summary:
Download Android app files from various sites
Groups:
Author:
Description:
This package can download Android app files from various sites...
Read more at https://www.phpclasses.org/package/11328-PHP-Download-Android-app-files-from-various-sites.html#2019-08-14-20:55:24
As per the latest study by Persistence Market Research (PMR), the global weight loss dietary supplements market is anticipated to witness healthy growth. The market is likely to register 6.0% CAGR throughout the forecast period 2017-2026. The global weight loss dietary supplements market is also estimated to bring in US$ 37,177.6 million revenue by 2026 end.
With obesity becoming a global health concern, weight loss continues to be one of the most focused areas. Hence, increasing number of companies are coming up with the new products in weight loss supplements. The increasing consumption and demand for weight loss dietary supplements, regulations on the production of these supplements along with ingredients used are also gaining traction in various countries. The government in various countries are also focusing on the quality and quantity of ingredients used and if any of these ingredients can have severe side-effects, affecting the health of the consumers negatively.
Get Sample Copy of Report @ https://www.persistencemarketresearch.com/samples/20380
Increasing use of Natural and Organic Ingredients in the Weight Loss Dietary Supplements
The negative effects of being obese and overweight are resulting in the increasing use of weight management products. Consumers are also adopting weight loss supplements in forms of pill, liquid, and powder. Hence, with the increase in the use of these supplements, manufacturers are also trying to produce safer products, thereby using organic and natural ingredients and plant-based ingredients. Among various ingredients, green tea extract is considered as one of the most popular and safest ingredients in the weight loss dietary supplements. Similarly, Garcinia cambogia is also being considered as an ingredient in the weight loss supplements. However, these ingredients have been reported to have adverse effects like a headache, constipation, UTI. Hence, there has been an increase in the investment in the research on other organic ingredients that can be used to produce weight loss supplements.
Global Weight Loss Dietary Supplements Market: Segmental Insights
The global weight loss dietary supplements market includes various segments such as end-user, form, ingredients, distribution channel, and region. Based on the form, the market is categorized into powder, liquid, and soft gell/pills. Soft gell/pills are expected to dominate the market during the forecast period. By the end of 2026, soft gell/pills are expected to exceed US$ 18,500 million revenue.
Based on the end-user, the segment consists of men, women and senior citizen. Among these, women are expected to be the largest users of weight loss dietary supplements. Women segment as the end-user is estimated to create an incremental opportunity of more than US$ 7,900 million between 2017 and 2026.
By Distribution Channel, pharmacies drug store is expected to emerge as the largest distribution channel for the weight loss dietary supplements. Pharmacies drug store is estimated to account for more than one-third of the revenue share by the end of 2017.
Based on the ingredients, the segment consists of amino acids, vitamins minerals, botanical supplements, and others. Vitamins minerals are expected to emerge as one of the largest used ingredients in the weight loss dietary supplements. By the end of 2026, vitamins minerals are estimated to exceed US$ 16,900 million revenue.
Region-wise, the market is categorized into Europe, North America, Asia Pacific Excluding Japan (APEJ), Latin America, Japan, and the Middle East and Africa (MEA). Among the given regions, North America is expected to dominate the global weight loss dietary supplements market throughout the forecast period 2017-2026.
Request Customization of this Report @ https://www.persistencemarketresearch.com/request-customization/20380
Global Weight Loss Dietary Supplements Market: Competitive Assessment
Key players in the global weight loss dietary supplements market are Amway (Nutrilite), Abott Laboratories, GlaxoSmithKline, Glanbia, Herbalife International, Pfizer, American Health, Stepan, Nature’s Sunshine Products, and FANCL.
What is a Keto Diet?
A keto diet is well known for being a low carb diet, where the body produces ketones in the liver to be used as energy. It’s referred to as many different names – ketogenic diet, low carb diet, low carb high fat (LCHF), etc. When you eat something high in carbs, your body will produce glucose and insulin.
This carb reduction forces your body to rely on fats for its main energy source instead of glucose — a process known as ketosis. When you do this, interesting things happen:
- Enhance Energy Levels
- Increase Body’s Ability to Turn Fat to Fuel for Weight Loss
- Promotes Ketosis
- Improves heart health
Glucose is the easiest molecule for your body to convert and use as energy so that it will be chosen over any other energy source and insulin is produced to process the glucose in your bloodstream by taking it around the body.
Adopting Keto Diet
Research has demonstrated that adopting this low-carb, high-fat diet can promote fat loss and even improve certain conditions such as type 2 diabetes and cognitive decline
The keto diet is essentially a high-protein diet — your meals are 70 or 80 percent fat; about 20 percent protein; and about 5 percent carbohydrate. When in a day you consume less than 50 grams of carbs, your body will later run out of fuel (blood sugar). This typically takes 3 to 4 days. Then you’ll start to break down protein and fat for energy, which can make you lose weight. This is the process that naturally occurs in the body called ketosis.
When you deprive your body of carbohydrates, which are the main fuel source for people, you’re also depriving your body of its ability to keep glycogen stores filled up.
The ketones diet may help you lose more weight in the first 3 to 6 months better than other diets can. It could be because it takes more calories to chance fat into energy than it does to change carbs into energy. Also it is possible that you are more satisfied with a high-protein diet than a high-fat diet.
There are some great metabolic changes initially with this diet. Shredding excess weight improves, such as insulin resistance, high blood pressure, and elevated cholesterol and triglycerides. It is true that fat oxidation does increase due to the body adapting to the higher dietary fat intake. However, fat oxidation and losing body fat are two different processes. When fat oxidation is higher it does not necessarily mean that there will be a reduction in body fat. Overall calorie intake and calorie burn will be the main determinant in fat loss.
Keto Supplements
These are known to aid ketogenic dieters. Ketone supplements are not anything new for 2019, but they have been increasing in popularity over the past couple of years. Popular talk show host Dr Oz, has featured these supplements in numerous segments on his talk show. Revealing how ketones can help individuals in losing weight.
Main Ingredients in Ketosis 101
- BHB;– It is an amazing and primary ingredient in every keto based product. This ingredient plays an important role in operating ketosis process. Without this ingredient every keto based product is useless.
- Raspberry ketones;– These ketones are helpful in cutting down excess fatty layers. It also increases the metabolic weight in order to improve fat burning process.
- Garcinia cambogia;– This ingredient is so popular in improving the metabolism system. It includes HCA that helps to control on eating habits. In fact, it is also responsible for slim and healthy body.
Ketosis 101 Ingredients contains Beta-hydroxybutyrate. BHB is the first substrate that kicks the metabolic state of ketosis resulting in energy.
Ketosis 101 Claims and Warrants
Everything has a disclaimer to it, so nothing has been fully tested in clinical trials. But the organization explains the importance of the keto diet and argues that users on their supplement can expect to experience dramatic weight loss. However, with the absence of definitive and dedicated studies on this particular supplement, these claims are difficult to corroborate.
Ketosis 101 Conclusion
While the listing for Ketosis 101 has a high number of positive reviews, its hard for us to say these are all legit product reviewers. Some may be, some may not be.
The perfect times for keto supplements drinks could be before a workout, on an empty stomach, after a high carb meal, or in between meals to improve metabolism. But with Keto 101 it’s extremely easy to use and experience fast weight loss results with.
- Take 2 Keto 101 capsules daily with water
- Eat keto-friendly meals and snacks throughout the day
- Enjoy improved energy and focus while our body uses fat for energy!
The organization requests fairly cheap prices for their supplement compared to others on the internet. As always consumers who try these supplements are encouraged to review the product online, so that they can add to the existing research-base for keto supplement products and companies.
Update Incoming!
We will try and email the Ketosis 101 support team to find out more information and bring transparency to this ketone weight loss supplement. Be sure to check back on our website for updated information on Ketosis 101.
To help you reach your weight loss goals, we suggest you read our guides that link to the top products that are currently on the market; Superfood drinks, detox cleanses, prebiotics, and the best fat burners.
Article source: https://timesofhealth.com/fast-burn-extreme/
As per the latest study by Persistence Market Research (PMR), the global weight loss dietary supplements market is anticipated to witness healthy growth. The market is likely to register 6.0% CAGR throughout the forecast period 2017-2026. The global weight loss dietary supplements market is also estimated to bring in US$ 37,177.6 million revenue by 2026 end.
With obesity becoming a global health concern, weight loss continues to be one of the most focused areas. Hence, increasing number of companies are coming up with the new products in weight loss supplements. The increasing consumption and demand for weight loss dietary supplements, regulations on the production of these supplements along with ingredients used are also gaining traction in various countries. The government in various countries are also focusing on the quality and quantity of ingredients used and if any of these ingredients can have severe side-effects, affecting the health of the consumers negatively.
Get Sample Copy of Report @ https://www.persistencemarketresearch.com/samples/20380
Increasing use of Natural and Organic Ingredients in the Weight Loss Dietary Supplements
The negative effects of being obese and overweight are resulting in the increasing use of weight management products. Consumers are also adopting weight loss supplements in forms of pill, liquid, and powder. Hence, with the increase in the use of these supplements, manufacturers are also trying to produce safer products, thereby using organic and natural ingredients and plant-based ingredients. Among various ingredients, green tea extract is considered as one of the most popular and safest ingredients in the weight loss dietary supplements. Similarly, Garcinia cambogia is also being considered as an ingredient in the weight loss supplements. However, these ingredients have been reported to have adverse effects like a headache, constipation, UTI. Hence, there has been an increase in the investment in the research on other organic ingredients that can be used to produce weight loss supplements.
Global Weight Loss Dietary Supplements Market: Segmental Insights
The global weight loss dietary supplements market includes various segments such as end-user, form, ingredients, distribution channel, and region. Based on the form, the market is categorized into powder, liquid, and soft gell/pills. Soft gell/pills are expected to dominate the market during the forecast period. By the end of 2026, soft gell/pills are expected to exceed US$ 18,500 million revenue.
Based on the end-user, the segment consists of men, women and senior citizen. Among these, women are expected to be the largest users of weight loss dietary supplements. Women segment as the end-user is estimated to create an incremental opportunity of more than US$ 7,900 million between 2017 and 2026.
By Distribution Channel, pharmacies drug store is expected to emerge as the largest distribution channel for the weight loss dietary supplements. Pharmacies drug store is estimated to account for more than one-third of the revenue share by the end of 2017.
Based on the ingredients, the segment consists of amino acids, vitamins minerals, botanical supplements, and others. Vitamins minerals are expected to emerge as one of the largest used ingredients in the weight loss dietary supplements. By the end of 2026, vitamins minerals are estimated to exceed US$ 16,900 million revenue.
Region-wise, the market is categorized into Europe, North America, Asia Pacific Excluding Japan (APEJ), Latin America, Japan, and the Middle East and Africa (MEA). Among the given regions, North America is expected to dominate the global weight loss dietary supplements market throughout the forecast period 2017-2026.
Request Customization of this Report @ https://www.persistencemarketresearch.com/request-customization/20380
Global Weight Loss Dietary Supplements Market: Competitive Assessment
Key players in the global weight loss dietary supplements market are Amway (Nutrilite), Abott Laboratories, GlaxoSmithKline, Glanbia, Herbalife International, Pfizer, American Health, Stepan, Nature’s Sunshine Products, and FANCL.
After discovering that WordPress modifies img tags when rendering a page, it crossed my mind that I could display exif information underneath each image on my new photography blog. The basic process is applicable to any manipulation of the content that you would want to do before it is displayed.
To do this, we add a new filter to the the_content hook:
add_filter('the_content', function ($content) {
// manipulate $content
return $content;
});
As with all filters, we have to return data in the same format as the first parameter to our function. For the_content, we receive a string which is the post's article text.
The core operation
In my case, all my <img> tags are immediately followed by a <figcaption> tag as I have a caption under each one. I decided to add the exif data within the <figcaption>.
We use regex to find the tags:
if (!preg_match_all( '@img [^>]+><figcaption>[^<]*</figcaption>@', $content, $matches)) {
return $content;
}
This will store each <img> tag that's followed by a <figcaption> tag into the $matches variable, so we can now iterate over it:
foreach ($matches[0] as $match) {
// Find the url in the tag
if (preg_match('@src="([0-9a-z:/._-]+)@i', $match, $srcList)) {
$url = $srcList[1];
if ($url) {
$postId = attachment_url_to_postid($url);
if ($postId) {
$exif = ffp_create_exifcaption($postId);
$new = str_replace('</figcaption>', $exif .'</figcaption>', $match);
$content = str_replace($match, $new, $content);
}
}
}
}
This code iterates over each match and finds the url in the src attribute of the image tag. We can then then load the post from that url using the rather helpful $postId = attachment_url_to_postid($url);.
Now that we have an ID, we can create the EXIF caption in a separate function and then finally we append it to the end of the current caption. We do this by simply replacing the closing </figcaption> with our text followed by </figcaption> which is a nice fast operation.
Creating EXIF display string
To create the string of EXIF data, I used a separate function to make it easier.
WordPress has already extracted the EXIF data we require when the image was uploaded into the admin, so we simply need to read it and format it. To get it we do this:
$metadata = wp_get_attachment_metadata($postId);
if (!isset($metadata['image_meta'])) {
return '';
}
$imagemeta = $meta['image_meta'] ?? [];
$imagemeta is an array of useful characteristics about the image.
We pull the info we care into a set of variables like this:
$camera = $imagemeta['camera'] ?? null;
$lens = $imagemeta['lens'] ?? null;
$aperture = $imagemeta['aperture'] ?? null;
$shutter = $imagemeta['shutter_speed'] ?? null;
$iso = $imagemeta['iso'] ?? null;
$focal_length = $imagemeta['focal_length'] ?? null;
if (! ($camera || $lens || $aperture || $shutter || $iso || $focal_length)) {
return '';
}
(Obviously, if there is no data, there's nothing to do.)
Finally we format it nicely:
$string = '<aside class="exif">';
if ($camera) {
$string .= '<div><ion-icon name="camera"></ion-icon><span>'.$camera.'</span></div>';
}
if ($lens) {
$string .='<div><ion-icon name="radio-button-on"></ion-icon><span>'.$lens.'</span></div>';
}
if ($aperture) {
$aperture = 'f/' . $aperture;
$string .= '<div><ion-icon name="aperture"></ion-icon><span>'.$aperture.'</span></div>';
}
if ($shutter) {
$shutter = '1/' . (int)(1.0/(float)$shutter);
$string .= '<div><ion-icon name="timer"></ion-icon><span>'.$shutter.'</span></div>';
}
if ($iso) {
$string .= '<div><span class="text-icon">ISO</span><span>'.$iso.'</span></div>';
}
if ($focal_length) {
$focal_length = (string)(round((float)$focal_length)) . 'mm';
$string .= '<div><ion-icon name="eye"></ion-icon><span>'.$focal_length.'</span></div>';
}
$string .= '</aside>';
return $string;
We wrap our entire EXIF string in an <aside> tag so that we can style appropriately. Then for each item of data, we display an icon followed by the text information. The icons are Io
Truncated by Planet PHP, read more at the original (another 950 bytes)